fix exec nightly error on mac (#28567)

musl/fix_failed_unittests_in_musl
YUNSHEN XIE 5 years ago committed by GitHub
parent 110febdc54
commit cf2c42a937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -563,12 +563,12 @@ EOF
if [ ${NIGHTLY_MODE:-OFF} == "ON" ]; then
nightly_label=""
else
nightly_label="RUN_TYPE=NIGHTLY|RUN_TYPE=DIST:NIGHTLY|RUN_TYPE=EXCLUSIVE:NIGHTLY"
nightly_label="(RUN_TYPE=NIGHTLY|RUN_TYPE=DIST:NIGHTLY|RUN_TYPE=EXCLUSIVE:NIGHTLY)"
echo "========================================="
echo "Unittests with nightly labels are only run at night"
echo "========================================="
fi
ctest -E "($disable_ut_quickly)" -LE "($nightly_label)" --output-on-failure -j $2 | tee $tmpfile
ctest -E "($disable_ut_quickly)" -LE ${nightly_label} --output-on-failure -j $2 | tee $tmpfile
failed_test_lists=''
collect_failed_tests
mactest_error=0

Loading…
Cancel
Save