@@ -3114,6 +3114,8 @@ for host in "${ALL_HOSTS[@]}"; do
31143114 LLVM_LIT_ARGS=" ${LLVM_LIT_ARGS} --threads=$( sysctl hw.physicalcpu | awk ' { print $2 }' ) "
31153115 fi
31163116
3117+ # Record the times test took and report the slowest.
3118+ LLVM_LIT_ARGS=" ${LLVM_LIT_ARGS} -v --time-tests"
31173119 if [[ " $using_xcodebuild " == " FALSE" ]] ; then
31183120 with_pushd ${lldb_build_dir} \
31193121 call ${NINJA_BIN} unittests/LLDBUnitTests
@@ -3122,7 +3124,7 @@ for host in "${ALL_HOSTS[@]}"; do
31223124 with_pushd ${results_dir} \
31233125 call " ${llvm_build_dir} /bin/llvm-lit" \
31243126 " ${lldb_build_dir} /lit" \
3125- ${LLVM_LIT_ARGS} -v --time-tests \
3127+ ${LLVM_LIT_ARGS} \
31263128 --xunit-xml-output=${results_dir} /results.xml \
31273129 --param dotest-args=" --build-dir ${lldb_build_dir} /lldb-test-build.noindex ${LLDB_TEST_SUBDIR_CLAUSE} ${LLDB_TEST_CATEGORIES} -t -E \" ${DOTEST_EXTRA} \" "
31283130 if [[ -x " ${LLDB_TEST_SWIFT_COMPATIBILITY} " ]] ; then
@@ -3131,7 +3133,7 @@ for host in "${ALL_HOSTS[@]}"; do
31313133 with_pushd ${results_dir} \
31323134 call " ${llvm_build_dir} /bin/llvm-lit" \
31333135 " ${lldb_build_dir} /lit" \
3134- ${LLVM_LIT_ARGS} -v --time-tests \
3136+ ${LLVM_LIT_ARGS} \
31353137 --xunit-xml-output=${results_dir} /results.xml \
31363138 --param dotest-args=" --build-dir ${lldb_build_dir} /lldb-test-build.noindex ${LLDB_TEST_SUBDIR_CLAUSE} ${LLDB_TEST_CATEGORIES} -G swift-history --swift-compiler \" ${LLDB_TEST_SWIFT_COMPATIBILITY} \" -t -E \" ${DOTEST_EXTRA} \" " --filter=compat
31373139 fi
0 commit comments