run-tests.sh: spew config.log on error

This commit is contained in:
Alibek Omarov 2019-10-11 07:16:25 +03:00
parent 89026daf42
commit 1138b124b5

View File

@ -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