Loading .gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,6 @@ self-test-on-merge-request: # check for crashes during the test, if any happened, fail the test - if cat test_output.txt | grep -c "Run errors were encountered for the following conditions:"; then echo "Codec had run errors"; exit 1; fi # check for non bitexact output and fail test if the merge request does not have a non-BE tag - if ! cat test_output.txt | grep -c "All [0-9]* tests are bitexact"; then echo "Non-bitexact cases encountered"; exit 123; fi - if ! cat test_output.txt | grep -c "All [0-9]* tests are bitexact" && ! echo $CI_MERGE_REQUEST_TITLE | grep -c --ignore-case "\[non[ -]*be\]"; then echo "Non-bitexact cases without non-BE tag encountered"; exit 1; fi - if ! cat test_output.txt | grep -c "All [0-9]* tests are bitexact"; then echo "Non-bitexact cases with non-BE tag encountered"; exit 123; fi Loading Loading
.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,6 @@ self-test-on-merge-request: # check for crashes during the test, if any happened, fail the test - if cat test_output.txt | grep -c "Run errors were encountered for the following conditions:"; then echo "Codec had run errors"; exit 1; fi # check for non bitexact output and fail test if the merge request does not have a non-BE tag - if ! cat test_output.txt | grep -c "All [0-9]* tests are bitexact"; then echo "Non-bitexact cases encountered"; exit 123; fi - if ! cat test_output.txt | grep -c "All [0-9]* tests are bitexact" && ! echo $CI_MERGE_REQUEST_TITLE | grep -c --ignore-case "\[non[ -]*be\]"; then echo "Non-bitexact cases without non-BE tag encountered"; exit 1; fi - if ! cat test_output.txt | grep -c "All [0-9]* tests are bitexact"; then echo "Non-bitexact cases with non-BE tag encountered"; exit 123; fi Loading