From 1138b124b51503fa85087e88b4389f983a5f9bfa Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 11 Oct 2019 07:16:25 +0300 Subject: [PATCH] run-tests.sh: spew config.log on error --- run-tests.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index faedf0e..a21d6c7 100644 --- a/run-tests.sh +++ b/run-tests.sh @@ -2,6 +2,7 @@ die() { + cat $1/config.log exit 1 } @@ -13,8 +14,8 @@ pip install pip --upgrade pip install conan # run tests -python waf-$1 configure build msdev clean || die +python waf-$1 configure build msdev clean || die build # reconfigure needs a special case -python waf-$1 -t tests/reconfigure -o build-reconfigure configure --test-option || die -python waf-$1 -t tests/reconfigure -o build-reconfigure configure --reconfigure || die +python waf-$1 -t tests/reconfigure -o build-reconfigure configure --test-option || die build-reconfigure +python waf-$1 -t tests/reconfigure -o build-reconfigure configure --reconfigure || die build-reconfigure