1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-04-26 18:51:27 +00:00
Mirror
Go to file
feiniks 0405196b1a
Fix crash when mysql stop (#755)
Co-authored-by: Heran Yang <heran.yang@seafile.com>
2025-04-09 17:44:26 +08:00
.github/workflows
ci Use seaf->http_server->priv after set evhtp hook (#749) 2025-04-02 16:33:31 +08:00
common Fix crash when mysql stop (#755) 2025-04-09 17:44:26 +08:00
controller
doc
fileserver Get notification server url from env (#752) 2025-04-08 11:51:11 +08:00
fuse
include
lib
m4
notification-server
python
scripts
server Don't record http method (#754) 2025-04-08 18:17:31 +08:00
tests
tools
.gitignore
autogen.sh
configure.ac
LICENSE.txt
Makefile.am
pytest.ini
README.markdown
README.testing.md
run_tests.sh
updateversion.sh

Seafile Server Tests

Run it locally

To run the tests, you need to install pytest first:

pip install -r ci/requirements.txt

Compile and install ccnet-server and seafile-server

cd ccnet-server
make
sudo make install

cd seafile-server
make
sudo make install

Then run the tests with

cd seafile-server
./run_tests.sh

By default the test script would try to start ccnet-server and seaf-server in /usr/local/bin, if you make install to another location, say /opt/local, run it like this:

SEAFILE_INSTALL_PREFIX=/opt/local ./run_tests.sh