test.sh: write test result to log for easier grepping
Closes: #394 Approved by: cgwalters
This commit is contained in:
parent
ab6fe314aa
commit
8942268ecb
@ -91,13 +91,16 @@ for tf in $(find . -name 'test-*.sh' | sort); do
|
|||||||
| grep -e '^ok ' --line-buffered \
|
| grep -e '^ok ' --line-buffered \
|
||||||
| xargs -d '\n' -n 1 echo " "; then
|
| xargs -d '\n' -n 1 echo " "; then
|
||||||
pass_print "PASS: $bn"
|
pass_print "PASS: $bn"
|
||||||
|
echo "PASS" >> ${LOG}
|
||||||
let "pass += 1"
|
let "pass += 1"
|
||||||
else
|
else
|
||||||
if test $? = 77; then
|
if test $? = 77; then
|
||||||
skip_print "SKIP: $bn"
|
skip_print "SKIP: $bn"
|
||||||
|
echo "SKIP" >> ${LOG}
|
||||||
let "skip += 1"
|
let "skip += 1"
|
||||||
else
|
else
|
||||||
fail_print "FAIL: $bn"
|
fail_print "FAIL: $bn"
|
||||||
|
echo "FAIL" >> ${LOG}
|
||||||
let "fail += 1"
|
let "fail += 1"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user