Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 629 Bytes

README.testing.md

File metadata and controls

31 lines (24 loc) · 629 Bytes

Syncwerk Server Tests

Run it locally

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

pip install -r ci/requirements.txt

Compile and install syncwerk-server-ccnet and syncwerk-server

cd syncwerk-server-ccnet
make
sudo make install

cd syncwerk-server
make
sudo make install

Then run the tests with

cd syncwerk-server
./run_tests.sh

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

SYNCWERK_INSTALL_PREFIX=/opt/local ./run_tests.sh