10 lines
313 B
Bash
Executable File
10 lines
313 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export TESTFLAGS=-v
|
|
testout="$( make test )"
|
|
|
|
|
|
echo "Total: $( echo "$testout" | grep -v 'Suite[^/]' | grep -cE '^ *--- (PASS|FAIL)' )"
|
|
echo "Pass: $( echo "$testout" | grep -v 'Suite[^/]' | grep -cE '^ *--- PASS' )"
|
|
echo "Fail: $( echo "$testout" | grep -v 'Suite[^/]' | grep -cE '^ *--- FAIL' )"
|