Skip to content

Commit c5f2b79

Browse files
authored
[gha] remove stdout from test logs to reduce verbosity (#169)
## Purpose Reduce the unnecessary logging produced when running `lldb-dotest`. ## Overview * Suppress `stdout` when running `lldb-dotest` since all of the useful output, including pass/fail logs, goes to `stderr` * Reduces the log size so that they entirely fit in the GitHub log view page-- there is no need to download the log archive to find which test case failed * Reduces the test run time by multiple minutes ## Validation Run GitHub build & test job on this PR.
1 parent 87d5ae7 commit c5f2b79

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -446,12 +446,12 @@ jobs:
446446
- run: |
447447
mkdir -p ${{ github.workspace }}/temp
448448
${{ github.workspace }}/BinaryCache/ds2/ds2 platform --server --daemonize --listen localhost:5432
449-
${{ github.workspace }}/BinaryCache/llvm/bin/lldb-dotest \
450-
--out-of-tree-debugserver \
451-
--arch ${{ matrix.arch }} \
452-
--platform-name remote-linux \
453-
--platform-url connect://localhost:5432 \
454-
--platform-working-dir ${{ github.workspace }}/temp \
449+
${{ github.workspace }}/BinaryCache/llvm/bin/lldb-dotest 1>/dev/null \
450+
--out-of-tree-debugserver \
451+
--arch ${{ matrix.arch }} \
452+
--platform-name remote-linux \
453+
--platform-url connect://localhost:5432 \
454+
--platform-working-dir ${{ github.workspace }}/temp \
455455
--excluded ${{ github.workspace }}/SourceCache/ds2/Support/Testing/Excluded/upstream/linux-${{ matrix.arch }}.excluded \
456456
--excluded ${{ github.workspace }}/SourceCache/ds2/Support/Testing/Excluded/ds2/linux-${{ matrix.arch }}.excluded \
457457
--excluded ${{ github.workspace }}/SourceCache/ds2/Support/Testing/Excluded/upstream/non-debugserver-tests.excluded \
@@ -599,7 +599,7 @@ jobs:
599599
600600
$ANDROID_SDK_ROOT/platform-tools/adb shell "/data/local/tmp/ds2 platform --server --daemonize --listen localhost:5432"
601601
602-
${{ github.workspace }}/BinaryCache/llvm/bin/lldb-dotest
602+
${{ github.workspace }}/BinaryCache/llvm/bin/lldb-dotest 1>/dev/null
603603
--out-of-tree-debugserver
604604
--arch ${{ matrix.llvm-arch }}
605605
--platform-name remote-android

0 commit comments

Comments
 (0)