From 55ba3f63787bfac8e81a7651490bd99654bcb5d5 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 13 Apr 2010 22:54:57 +0200 Subject: scripts/functions: log the test strings --- scripts/functions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/functions b/scripts/functions index 797e5bfa..e991a189 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 } -- cgit v1.2.3