]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Add NO_LOG option to tests.sh
authorfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 25 Apr 2019 18:42:06 +0000 (20:42 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 25 Apr 2019 18:42:06 +0000 (20:42 +0200)
help/test.sh

index 23edf17cd1ea5af5b78a358b2538b67a47e216d6..cb5825880448155ca65a4c6df2c5d9390e7d9c30 100644 (file)
@@ -465,7 +465,7 @@ clean() {
 [ -f test.log ] && rm test.log
 [ $# -ne 0 ] && do_test "${@}" | consummer
 
-if [ -f test.log ]
+if [ -f test.log ] && [ -z $NO_LOG ]
 then
   cat test.log
   exit 1