Skip to content

Commit fa8df6b

Browse files
committed
github: Run the libcxx tests with "-v --time-tests"
This allows seeing the names of tests as they are executed, making the intermediate log output on github actions more useful. It also makes it easier to correlate test issues between tests as they are executed (e.g. if one test causes another one to run out of memory). Also run with --time-tests, allowing identifying slow tests. This was already applied in the separate libcxx test job added in 7483eae; this backports the change into the test job in the main build file.
1 parent c1dfe42 commit fa8df6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,8 @@ jobs:
382382
-DLIBCXXABI_USE_COMPILER_RT=YES `
383383
-DLIBUNWIND_USE_COMPILER_RT=YES `
384384
-DLIBCXXABI_USE_LLVM_UNWINDER=YES `
385-
-DLIBCXX_EXTRA_SITE_DEFINES="__USE_MINGW_ANSI_STDIO=1;TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT"
385+
-DLIBCXX_EXTRA_SITE_DEFINES="__USE_MINGW_ANSI_STDIO=1;TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT" `
386+
-DLLVM_LIT_ARGS="-v --time-tests"
386387
ninja
387388
ninja check-cxx check-cxxabi check-unwind
388389

0 commit comments

Comments
 (0)