mirror of https://github.com/aamine/cbc
show test function name while running tests.
git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4055 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
parent
f94faf7fde
commit
7f25d1a693
|
@ -50,6 +50,8 @@ run_tests() {
|
|||
|
||||
while read f
|
||||
do
|
||||
echo 1>&2
|
||||
print "$(echo $f | sed 's/^test_//')" 1>&2
|
||||
$f
|
||||
done
|
||||
shunit_report_result
|
||||
|
@ -60,7 +62,7 @@ defined_tests() {
|
|||
}
|
||||
|
||||
defined_functions() {
|
||||
typeset +f
|
||||
typeset +f | awk '/^[^ ]+ \(\)/ { print $1 }'
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
|
Loading…
Reference in New Issue