Skip to content

Commit

Permalink
Merge pull request #744 from heplesser/fix-do-test-713
Browse files Browse the repository at this point in the history
Ensure correct sed option is used on BSD-based systems
  • Loading branch information
heplesser committed Jun 6, 2017
2 parents 37f63bd + 812d3c1 commit d66456c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/do_tests.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ if test "x${TEST_PYNEST}" = xtrue ; then
| tee -a "${TEST_LOGFILE}" | grep -i --line-buffered "\.\.\. ok\|fail\|skip\|error" | sed 's/^/ /'

PYNEST_TEST_TOTAL="$( tail -n 3 ${TEST_LOGFILE} | grep Ran | cut -d' ' -f2 )"
PYNEST_TEST_SKIPPED="$( tail -n 1 ${TEST_LOGFILE} | sed -r 's/.*SKIP=([0-9]+).*/\1/')"
PYNEST_TEST_SKIPPED="$( tail -n 1 ${TEST_LOGFILE} | sed -$EXTENDED_REGEX_PARAM 's/.*SKIP=([0-9]+).*/\1/')"
PYNEST_TEST_FAILURES="$( tail -n 3 ${TEST_LOGFILE} | grep \( | sed -$EXTENDED_REGEX_PARAM 's/^[a-zA-Z]+ \((.*)\)/\1/' | sed -$EXTENDED_REGEX_PARAM 's/.*failures=([0-9]+).*/\1/' )"
PYNEST_TEST_ERRORS="$( tail -n 3 ${TEST_LOGFILE} | grep \( | sed -$EXTENDED_REGEX_PARAM 's/^[a-zA-Z]+ \((.*)\)/\1/' | sed -$EXTENDED_REGEX_PARAM 's/.*errors=([0-9]+).*/\1/' )"

Expand Down

0 comments on commit d66456c

Please sign in to comment.