waifu/run-tests.sh

21 lines
392 B
Bash

#!/bin/bash
die()
{
exit 1
}
# build waf
./build-waf.sh
# install conan
pip install pip --upgrade
pip install conan
# 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