summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-02-18 21:44:58 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-02-18 21:44:58 +0000
commit9d58e0aa0a846328acadfe4b5f3802a4746a4967 (patch)
tree18e65bc3c9568b0cecc60057661eb2fa721b5a79 /other
parent3dc8cf6df8b80f213526884cafbbd493486366e5 (diff)
Run all tests in parallel on Travis.
The first round some tests will fail and others will segfault. The second round, still some will fail, but the third round it might pass. At some point, tests will pass. The reason for this is that tests assume a lot about which ports they are given, and also toxcore's default port range has too few ports to run all tests in parallel. These issues will be fixed in future PRs.
Diffstat (limited to 'other')
-rwxr-xr-xother/travis/toxcore-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/travis/toxcore-script b/other/travis/toxcore-script
index 82c39ce9..65c4c7b5 100755
--- a/other/travis/toxcore-script
+++ b/other/travis/toxcore-script
@@ -40,5 +40,5 @@ export CTEST_OUTPUT_ON_FAILURE=1
40 40
41RUN $MAKE -C$BUILD_DIR -j$NPROC -k install 41RUN $MAKE -C$BUILD_DIR -j$NPROC -k install
42if $RUN_TESTS; then 42if $RUN_TESTS; then
43 TESTS $MAX_TEST_RETRIES $MAKE -C$BUILD_DIR -j$NPROC test ARGS="--rerun-failed" CTEST_OUTPUT_ON_FAILURE="$CTEST_OUTPUT_ON_FAILURE" 43 TESTS $MAX_TEST_RETRIES $MAKE -C$BUILD_DIR -j$NPROC test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE="$CTEST_OUTPUT_ON_FAILURE"
44fi 44fi