Run ctest tests in parallel (#20137)

This commit is contained in:
Michał Janiszewski authored and GitHub committed 2023-05-06 15:54:33 +03:00
1 parent 8627a5875f
commit 733eb07dd2
1 file changed
+1 -1
+1 -1
View File
@@ -20,5 +20,5 @@ if [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" ]]; then
./tests --gtest_output=xml:../artifacts/test-results.xml "$@"
else
echo -e "\033[0;36mRunning OpenRCT2 tests...\033[0m"
ctest --output-on-failure --output-junit ../artifacts/test-results.xml "$@"
ctest -j 2 --output-on-failure --output-junit ../artifacts/test-results.xml "$@"
fi