summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-04-13 20:54:57 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-04-13 20:54:57 (GMT)
commit55ba3f63787bfac8e81a7651490bd99654bcb5d5 (patch)
tree74f889a5101ef70ef3a5c749c18c38324cb84767 /scripts
parente87fb32624c41df5a1dd6a8a598d54c62c4724c3 (diff)
scripts/functions: log the test strings
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions
index 797e5bf..e991a18 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -150,6 +150,7 @@ CT_Test() {
local ret
local m="$1"
shift
+ CT_DoLog DEBUG "Testing '! ( $* )'"
test "$@" && CT_DoLog WARN "$m"
return 0
}
@@ -159,6 +160,7 @@ CT_Test() {
CT_TestAndAbort() {
local m="$1"
shift
+ CT_DoLog DEBUG "Testing '! ( $* )'"
test "$@" && CT_Abort "$m"
return 0
}
@@ -168,6 +170,7 @@ CT_TestAndAbort() {
CT_TestOrAbort() {
local m="$1"
shift
+ CT_DoLog DEBUG "Testing '$*'"
test "$@" || CT_Abort "$m"
return 0
}