Skip to content

Instantly share code, notes, and snippets.

@jessicah
Last active August 29, 2015 14:18
Show Gist options
  • Save jessicah/4bb7cb9fad806d397b13 to your computer and use it in GitHub Desktop.
Save jessicah/4bb7cb9fad806d397b13 to your computer and use it in GitHub Desktop.
Boost Regression Test Script
#!/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
# 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