2019-06-07 01:18:45 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
die()
|
|
|
|
{
|
2019-10-11 06:16:25 +02:00
|
|
|
cat $1/config.log
|
2019-06-07 01:18:45 +02:00
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
|
|
|
# build waf
|
|
|
|
./build-waf.sh
|
|
|
|
|
|
|
|
# install conan
|
2019-06-07 01:26:40 +02:00
|
|
|
pip install pip --upgrade
|
|
|
|
pip install conan
|
2019-06-07 01:18:45 +02:00
|
|
|
|
|
|
|
# run tests
|
2019-10-11 06:16:25 +02:00
|
|
|
python waf-$1 configure build msdev clean || die build
|
2019-06-07 01:18:45 +02:00
|
|
|
|
|
|
|
# reconfigure needs a special case
|
2019-10-11 06:16:25 +02:00
|
|
|
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
|