Skip to content
Snippets Groups Projects
Commit 1f07ac56 authored by Petr Rockai's avatar Petr Rockai
Browse files

releng: Fix the regexes that check for failed tests in nightly.sh.

parent ab911961
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ failed() ...@@ -42,7 +42,7 @@ failed()
if test -e $list; then if test -e $list; then
echo "Some tests failed:" echo "Some tests failed:"
echo echo
egrep 'failed|timeout' $list | perl -pe 's,([a-z0-9]+):(.*) (.*), $3: [$1] $2,' egrep '(failed|timeout)$' $list | perl -pe 's,([a-z0-9]+):(.*) (.*), $3: [$1] $2,'
echo echo
if egrep -q 'warnings|skipped' $list; then warnings; fi if egrep -q 'warnings|skipped' $list; then warnings; fi
echo "Remaining $(grep -c passed $list) tests passed. Stopping here." echo "Remaining $(grep -c passed $list) tests passed. Stopping here."
...@@ -107,7 +107,7 @@ fi ...@@ -107,7 +107,7 @@ fi
(echo "# Test Results"; echo) >> report.txt (echo "# Test Results"; echo) >> report.txt
rm -f $list rm -f $list
if ! make ${buildtype}-check JOBS=6 || egrep -q 'failed|timeout|unknown' $list; then if ! make ${buildtype}-check JOBS=6 || egrep -q '(failed|timeout|unknown)$' $list; then
test -e $list && cp report.txt doc/website/ test -e $list && cp report.txt doc/website/
failed >> report.txt failed >> report.txt
finished 1 finished 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment