1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-07-16 08:15:51 +00:00
Mirror
Go to file
Daniel Pan bd7c08624d
Merge pull request #294 from haiwen/fix_setup_mysql
Fix setup seafile mysql script.
2019-12-03 16:16:53 +08:00
ci Fix the arguments of ccnet init. 2019-10-22 19:53:25 -07:00
common Merge branch '7.0' 2019-11-22 17:45:24 -08:00
controller use pid-file monitor ccnet-server 2019-07-15 16:57:51 +08:00
doc Add seafile-tutorial doc. 2016-08-20 15:56:59 +08:00
fuse Merge branch 'python3' 2019-07-25 12:08:00 +08:00
include Add search repos by name rpc. 2019-11-17 21:21:28 -08:00
lib add ctime 2019-09-09 12:15:20 +08:00
m4 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
python Add search repos by name rpc. 2019-11-17 21:21:28 -08:00
scripts add red 2019-12-03 16:12:23 +08:00
server Deleted repos do not return when search repos by name. 2019-11-19 01:42:32 -08:00
tests Merge branch '7.0' 2019-11-22 17:45:24 -08:00
tools Fix the arguments of ccnet init. 2019-10-22 19:53:25 -07:00
.gitignore Add functional tests (#120) 2018-01-16 17:10:26 +08:00
.travis.yml [CI] Use master branch from libsearpc and ccnet-server for testing. 2019-07-25 17:57:41 +08:00
autogen.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
configure.ac Minor bug fixes. 2019-08-07 19:29:08 +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