From fa8df6b1936b121c1b1c6f357acb115cadb5a2de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Wed, 13 Sep 2023 13:42:35 +0300 Subject: [PATCH] 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 7483eae1821766a0f84dbd96f5619058f7065008; this backports the change into the test job in the main build file. --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7dac2b6..26ceaba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -382,7 +382,8 @@ jobs: -DLIBCXXABI_USE_COMPILER_RT=YES ` -DLIBUNWIND_USE_COMPILER_RT=YES ` -DLIBCXXABI_USE_LLVM_UNWINDER=YES ` - -DLIBCXX_EXTRA_SITE_DEFINES="__USE_MINGW_ANSI_STDIO=1;TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT" + -DLIBCXX_EXTRA_SITE_DEFINES="__USE_MINGW_ANSI_STDIO=1;TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT" ` + -DLLVM_LIT_ARGS="-v --time-tests" ninja ninja check-cxx check-cxxabi check-unwind