mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
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.
This commit is contained in:
parent
3dc8cf6df8
commit
9d58e0aa0a
|
@ -40,5 +40,5 @@ export CTEST_OUTPUT_ON_FAILURE=1
|
|||
|
||||
RUN $MAKE -C$BUILD_DIR -j$NPROC -k install
|
||||
if $RUN_TESTS; then
|
||||
TESTS $MAX_TEST_RETRIES $MAKE -C$BUILD_DIR -j$NPROC test ARGS="--rerun-failed" CTEST_OUTPUT_ON_FAILURE="$CTEST_OUTPUT_ON_FAILURE"
|
||||
TESTS $MAX_TEST_RETRIES $MAKE -C$BUILD_DIR -j$NPROC test ARGS="-j50 --rerun-failed" CTEST_OUTPUT_ON_FAILURE="$CTEST_OUTPUT_ON_FAILURE"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user