summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}