aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-01-13 15:24:21 +0300
committeralexv-smirnov <alex@ydb.tech>2023-01-13 15:24:21 +0300
commit0162c1a99a12ff7a7a194ba027e7f0789285e8dd (patch)
tree2de6e6ca5fc115437c62bc7663d74ceb2f5e54ee
parent929d3c1fca6385c69d56a2b24ac3f11bf072c2ee (diff)
downloadydb-0162c1a99a12ff7a7a194ba027e7f0789285e8dd.tar.gz
add failed tests error messages to test run output
-rw-r--r--.github/workflows/build_and_test.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 35e31f7bdd..81ab83cdef 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -29,5 +29,6 @@ jobs:
run: |
rm -rf /mnt/d/tmp/*
cd ../build/ydb
- TMPDIR=/mnt/d/tmp ctest -j28 --timeout 1200 --force-new-ctest-process
+ # Our test util provides output with coloring, so remove it using sed before sending to grep
+ TMPDIR=/mnt/d/tmp ctest -j28 --timeout 1200 --force-new-ctest-process --output-on-failure | sed -e 's/\x1b\[[0-9;]*m//g' | grep -E "(Test\s*#|\[FAIL\])"