Commit 5bb93994 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix run error detection

parent f65775c0
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ msan-on-merge-request-linux:
    - make clean
    - make -j CLANG=1
    - python3 scripts/self_test.py --create | tee test_output.txt
    - run_errors=$(cat test_output.txt | grep -c "test conditions had run errors") || true
    - run_errors=$(cat test_output.txt | grep -ic "run errors") || true
    - if [ $run_errors != 0 ] ; then echo "Run errors in self_test.py with Clang memory-sanitizer"; exit $EXIT_CODE_FAIL; fi


@@ -161,7 +161,7 @@ asan-on-merge-request-linux:
    - make clean
    - make -j CLANG=2
    - python3 scripts/self_test.py --create | tee test_output.txt
    - run_errors=$(cat test_output.txt | grep -c "test conditions had run errors") || true
    - run_errors=$(cat test_output.txt | grep -ic "run errors") || true
    - if [ $run_errors != 0 ] ; then echo "Run errors in self_test.py with Clang address-sanitizer"; exit $EXIT_CODE_FAIL; fi