diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-04-13 22:54:57 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-04-13 22:54:57 +0200 |
commit | 55ba3f63787bfac8e81a7651490bd99654bcb5d5 (patch) | |
tree | 74f889a5101ef70ef3a5c749c18c38324cb84767 | |
parent | e87fb32624c41df5a1dd6a8a598d54c62c4724c3 (diff) | |
download | crosstool-ng-55ba3f63787bfac8e81a7651490bd99654bcb5d5.tar.gz crosstool-ng-55ba3f63787bfac8e81a7651490bd99654bcb5d5.tar.bz2 crosstool-ng-55ba3f63787bfac8e81a7651490bd99654bcb5d5.zip |
scripts/functions: log the test strings
-rw-r--r-- | scripts/functions | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |