2005-11-15 20:43:12 +00:00
|
|
|
*** tools/regression/run_tests.sh.orig 2005-11-14 17:28:00.000000000 -0600
|
2005-11-17 04:46:27 +00:00
|
|
|
--- tools/regression/run_tests.sh 2005-11-16 18:57:09.000000000 -0600
|
2005-11-15 20:43:12 +00:00
|
|
|
***************
|
|
|
|
*** 15,21 ****
|
|
|
|
# This can be either a non-exitent directory or an already complete Boost
|
|
|
|
# source tree.
|
|
|
|
#
|
|
|
|
! boost_root="$HOME/CVSROOTs/Boost/boost_regression"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Wether to fetch the most current Boost code from CVS (yes/no):
|
|
|
|
--- 15,21 ----
|
|
|
|
# This can be either a non-exitent directory or an already complete Boost
|
|
|
|
# source tree.
|
|
|
|
#
|
|
|
|
! boost_root=`pwd`/../..
|
|
|
|
|
|
|
|
#
|
|
|
|
# Wether to fetch the most current Boost code from CVS (yes/no):
|
2005-11-17 04:46:27 +00:00
|
|
|
*************** toolset=gcc
|
|
|
|
*** 45,51 ****
|
|
|
|
# "comment_path" is the path to an html-file describing the test environment.
|
|
|
|
# The content of this file will be embedded in the status pages being produced.
|
|
|
|
#
|
|
|
|
! comment_path="$boost_root/../regression_comment.html"
|
|
|
|
|
|
|
|
|
|
|
|
### DEFAULTS ARE OK FOR THESE.
|
|
|
|
--- 45,51 ----
|
|
|
|
# "comment_path" is the path to an html-file describing the test environment.
|
|
|
|
# The content of this file will be embedded in the status pages being produced.
|
|
|
|
#
|
|
|
|
! comment_path="$boost_root/tools/regression/regression_comment.html"
|
|
|
|
|
|
|
|
|
|
|
|
### DEFAULTS ARE OK FOR THESE.
|
2005-11-15 20:43:12 +00:00
|
|
|
*************** for tool in $test_tools ; do
|
2005-11-17 04:46:27 +00:00
|
|
|
*** 149,157 ****
|
|
|
|
# STEP 3:
|
|
|
|
# run the regression tests:
|
2005-11-15 20:43:12 +00:00
|
|
|
#
|
|
|
|
echo running the $tool regression tests:
|
|
|
|
cd "$boost_root/status"
|
|
|
|
! "$bjam" -sTOOLS=$tool --dump-tests test 2>&1 | tee regress.log
|
|
|
|
|
|
|
|
#
|
|
|
|
# STEP 4:
|
2005-11-17 04:46:27 +00:00
|
|
|
--- 149,159 ----
|
|
|
|
# STEP 3:
|
|
|
|
# run the regression tests:
|
2005-11-15 20:43:12 +00:00
|
|
|
#
|
2005-11-17 04:46:27 +00:00
|
|
|
+ PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
|
|
|
|
+ PYTHON_FLAGS="-sPYTHON_ROOT=/usr -sPYTHON_VERSION=$PYTHON_VERSION"
|
2005-11-15 20:43:12 +00:00
|
|
|
echo running the $tool regression tests:
|
|
|
|
cd "$boost_root/status"
|
2005-11-17 04:46:27 +00:00
|
|
|
! "$bjam" $PYTHON_FLAGS -sTOOLS=$tool --dump-tests test 2>&1 | tee regress.log
|
2005-11-15 20:43:12 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# STEP 4:
|
|
|
|
*************** done
|
2005-11-17 04:46:27 +00:00
|
|
|
*** 170,178 ****
|
|
|
|
# STEP 6:
|
|
|
|
# create the html table:
|
2005-11-15 20:43:12 +00:00
|
|
|
#
|
2005-11-17 04:46:27 +00:00
|
|
|
- uname=`uname`
|
2005-11-15 20:43:12 +00:00
|
|
|
echo generating html tables:
|
|
|
|
! "$compiler_status" --comment "$comment_path" "$boost_root" cs-$uname.html cs-$uname-links.html
|
|
|
|
if test $? != 0 ; then
|
|
|
|
echo "Failed HTML result table generation."
|
|
|
|
exit 256
|
2005-11-17 04:46:27 +00:00
|
|
|
--- 172,181 ----
|
|
|
|
# STEP 6:
|
|
|
|
# create the html table:
|
2005-11-15 20:43:12 +00:00
|
|
|
#
|
|
|
|
echo generating html tables:
|
2005-11-17 04:46:27 +00:00
|
|
|
! echo ""
|
|
|
|
! echo "$compiler_status --comment $comment_path $boost_root results.html results-links.html"
|
|
|
|
! "$compiler_status" --comment "$comment_path" "$boost_root" results.html results-links.html
|
2005-11-15 20:43:12 +00:00
|
|
|
if test $? != 0 ; then
|
|
|
|
echo "Failed HTML result table generation."
|
|
|
|
exit 256
|