Last active
August 29, 2015 14:18
-
-
Save jessicah/4bb7cb9fad806d397b13 to your computer and use it in GitHub Desktop.
Boost Regression Test Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Get the regression script | |
if [ ! -e run.py ] ; then | |
wget https://raw.githubusercontent.com/boostorg/regression/develop/src/run.py | |
chmod a+x run.py | |
fi | |
# Switch to gcc4 if needed | |
if [[ "$(gcc --version)" =~ "2.95.3" ]] ; then | |
setarch x86 $0 | |
exit | |
fi | |
# Adjust ID and N parameters as appropriate | |
# Each invocation takes approximately 4 hours with -j4 on an i5-3570K with 8GB RAM | |
mkdir -p develop | |
pushd develop | |
cp -f ../run.py . | |
python ./run.py --runner=ID-haiku-x86 --platform=Haiku --tag=develop --bjam-options=-jN | |
popd | |
mkdir -p master | |
pushd master | |
cp -f ../run.py . | |
python ./run.py --runner=ID-haiku-x86 --platform=Haiku --tag=master --bjam-options=-jN | |
popd | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# place in ~/config/settings/system/debug_server/ | |
executable_actions { | |
/path/to/regression-test-suite/* kill | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment