Commit b8f5e73d authored by Jan Kiene's avatar Jan Kiene
Browse files

change formatting in FAILED_TESTCASE_LIST and ERRORS_TESTCASES_LIST to

this should make command pasteable
parent 5f54c650
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -459,12 +459,12 @@ stages:
    -   exit_code=$EXIT_CODE_NON_BE
    -   zip -r $PYTEST_CACHE_ARTIFACT .pytest_cache

    -   grep "^FAILED" pytest_log.txt | sed 's/^FAILED //' | sed 's/] - .*/]/' | tr "\n" " " > $FAILED_TESTCASES_LIST || true
    -   grep "^FAILED" pytest_log.txt | sed 's/^FAILED //' | sed 's/] - .*/]/' > failed_testcases_for_printing.txt || true
    -   grep "^FAILED" pytest_log.txt | sed "s/^FAILED /'/" | sed "s/] - .*/]'/" | tr "\n" " " > $FAILED_TESTCASES_LIST || true
    -   grep "^FAILED" pytest_log.txt | sed "s/^FAILED //" | sed "s/] - .*/]/" > failed_testcases_for_printing.txt || true
    -   num_failures=$(wc -l < failed_testcases_for_printing.txt)

    -   grep "^ERROR" pytest_log.txt | sed 's/^ERROR //' | sed 's/] - .*/]/' | tr "\n" " " > $ERRORS_TESTCASES_LIST || true
    -   grep "^ERROR" pytest_log.txt | sed 's/^ERROR //' | sed 's/] - .*/]/' > errors_testcases_for_printing.txt || true
    -   grep "^ERROR" pytest_log.txt | sed "s/^ERROR /'/" | sed "s/] - .*/]'/" | tr "\n" " " > $ERRORS_TESTCASES_LIST || true
    -   grep "^ERROR" pytest_log.txt | sed "s/^ERROR //" | sed "s/] - .*/]/" > errors_testcases_for_printing.txt || true
    -   num_errors=$(wc -l < errors_testcases_for_printing.txt)

    -   *print-results-banner