# HG changeset patch # User "Yann E. MORIN" # Date 1271192097 -7200 # Node ID 5921089b34bd4e413cf585f254fceefac9125a4d # Parent d77f3f04a22713bc7a2a6d89b1beb4644214c7fe scripts/functions: log the test strings diff -r d77f3f04a227 -r 5921089b34bd scripts/functions --- a/scripts/functions Tue Apr 13 21:47:34 2010 +0200 +++ b/scripts/functions Tue Apr 13 22:54:57 2010 +0200 @@ -150,6 +150,7 @@ local ret local m="$1" shift + CT_DoLog DEBUG "Testing '! ( $* )'" test "$@" && CT_DoLog WARN "$m" return 0 } @@ -159,6 +160,7 @@ CT_TestAndAbort() { local m="$1" shift + CT_DoLog DEBUG "Testing '! ( $* )'" test "$@" && CT_Abort "$m" return 0 } @@ -168,6 +170,7 @@ CT_TestOrAbort() { local m="$1" shift + CT_DoLog DEBUG "Testing '$*'" test "$@" || CT_Abort "$m" return 0 }