2019-06-07 01:18:45 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
die()
|
|
|
|
{
|
|
|
|
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
|
|
|
|
python waf-$1 configure build msdev clean || die
|
|
|
|
|
|
|
|
# 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
|