From ec9d2977685f574e34cbb86ce4b0458d5e74766f Mon Sep 17 00:00:00 2001 From: Andrew Reusch Date: Tue, 14 Jul 2020 18:11:56 -0700 Subject: [PATCH] Build crttest and cpptest separately. (#6057) * Build crttest and cpptest separately. * Try to fix random CI crashing, likely caused by concurrent cmake execution. * Revert to -j8 --- tests/scripts/task_cpp_unittest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/scripts/task_cpp_unittest.sh b/tests/scripts/task_cpp_unittest.sh index 712e54a1a2408..25a6bf06aec73 100755 --- a/tests/scripts/task_cpp_unittest.sh +++ b/tests/scripts/task_cpp_unittest.sh @@ -30,7 +30,8 @@ export OMP_NUM_THREADS=1 # Remove existing testcases rm -f build/*_test -make crttest cpptest -j3 +make cpptest -j8 +make crttest -j8 for test in build/*_test; do ./$test done