Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2007-05-25 21:45:57


Author: troy
Date: 2007-05-25 21:45:56 EDT (Fri, 25 May 2007)
New Revision: 4265
URL: http://svn.boost.org/trac/boost/changeset/4265

Log:
fix passing options to subprocess and handle compiler as cmdline argument

Text files modified:
   sandbox-branches/boost-cmake/unix_testing_node/nightly/nightly.sh | 13 ++++++++++---
   1 files changed, 10 insertions(+), 3 deletions(-)

Modified: sandbox-branches/boost-cmake/unix_testing_node/nightly/nightly.sh
==============================================================================
--- sandbox-branches/boost-cmake/unix_testing_node/nightly/nightly.sh (original)
+++ sandbox-branches/boost-cmake/unix_testing_node/nightly/nightly.sh 2007-05-25 21:45:56 EDT (Fri, 25 May 2007)
@@ -3,18 +3,25 @@
 if [[ -z "$UPDATE_DONE" ]]
 then
     svn update $0
- UPDATE_DONE=YES $0
+ UPDATE_DONE=YES $0 $*
     exit
 fi
 
+COMPILER=$1
+if [[ -z "$COMPILER" ]]
+then
+ echo "Setting compiler to default of g++"
+ COMPILER=g++
+fi
+
 topdir=`dirname $0`
 cd $topdir
 topdir=`pwd`
 
 cd $topdir/debug
-CXX="ccache g++" ctest -S nightly.cmake -V
+CXX="ccache $COMPILER" ctest -S nightly.cmake -V
 cd $topdir/release
-CXX="ccache g++" ctest -S nightly.cmake -V
+CXX="ccache $COMPILER" ctest -S nightly.cmake -V
 
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk