1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-04-27 19:15:07 +00:00
Mirror
Go to file
2022-01-22 17:08:41 +08:00
.github/workflows Use github action as ci test. 2020-01-13 18:55:55 -08:00
ci Merge branch '8.0' 2021-12-14 17:45:05 +08:00
common Don't restore repo when failed to get head commit and fix a memory leak (#532) 2021-12-18 10:26:35 +08:00
controller use c fileserver when sqlite3 (#509) 2021-11-06 10:39:23 +08:00
doc Add seafile-tutorial doc. 2016-08-20 15:56:59 +08:00
fileserver Check block if exists before write block (#537) 2022-01-14 17:39:11 +08:00
fuse fixed compile warning (#464) 2021-06-09 11:03:17 +08:00
include search group members rpc (#489) 2021-09-06 18:20:28 +08:00
lib fixed compile warning (#464) 2021-06-09 11:03:17 +08:00
m4 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
python cleanup code about service_url (#505) 2021-10-12 16:02:17 +08:00
scripts add sqlite2mysql.sh and sqlite2mysql.py 2022-01-22 17:08:41 +08:00
server Don't restore repo when failed to get head commit and fix a memory leak (#532) 2021-12-18 10:26:35 +08:00
tests Merge branch '8.0' 2021-09-26 11:09:02 +08:00
tools Del seaf-init and ccnet-init commands (#348) 2020-05-11 09:20:47 +08:00
.gitignore Add search files RPC (#417) 2020-10-27 18:06:37 +08:00
autogen.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
configure.ac Add and del ccnet compilation dependency in seafile (#347) 2020-05-09 16:31:47 +08:00
LICENSE.txt Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
Makefile.am Add seafile-tutorial doc. 2016-08-20 15:56:59 +08:00
pytest.ini Add functional tests (#120) 2018-01-16 17:10:26 +08:00
README.markdown Re-enabled travis ci. 2016-09-17 13:34:15 +08:00
README.testing.md Update testing README 2018-01-16 18:19:33 +08:00
run_tests.sh Add functional tests (#120) 2018-01-16 17:10:26 +08:00
updateversion.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00

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