/[escript]/branches/lapack2681/scons/grouptest.py
ViewVC logotype

Diff of /branches/lapack2681/scons/grouptest.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2266 by jfenwick, Thu Feb 12 03:42:56 2009 UTC revision 2270 by jfenwick, Mon Feb 16 04:43:28 2009 UTC
# Line 39  class GroupTest: Line 39  class GroupTest:
39      res=res+"# It will be regenerated each time scons is run\n"      res=res+"# It will be regenerated each time scons is run\n"
40      res=res+"#############################################\n\n"      res=res+"#############################################\n\n"
41      res=res+"function failed()\n{\n  echo ""Execution failed for $@""\n  exit 1\n}\n"      res=res+"function failed()\n{\n  echo ""Execution failed for $@""\n  exit 1\n}\n"
42      res=res+"\nexport OLD_PYTHON=$PYTHONPATH\nBINRUNNER=$1\nPYTHONRUNNER=\"$1 $2\"\nBATCH_ROOT=`pwd`\nBUILD_DIR=$BATCH_ROOT/build/posix\n"      res=res+"\n export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH\n"
43        res=res+"\nexport OLD_PYTHON=`pwd`:$PYTHONPATH\nBINRUNNER=$1\nPYTHONRUNNER=\"$1 $2\"\nBATCH_ROOT=`pwd`\nBUILD_DIR=$BATCH_ROOT/build/posix\n"
44      res=res+"if [ ! -d $BUILD_DIR ]\nthen\n echo Can not find build directory $BUILD_DIR\n exit 2\nfi\n"      res=res+"if [ ! -d $BUILD_DIR ]\nthen\n echo Can not find build directory $BUILD_DIR\n exit 2\nfi\n"
45      res=res+"if [ $# -lt 2 ]\nthen\n echo Usage: $0 bin_run_cmd python_run_cmd\n exit 2\nfi\n"      res=res+"if [ $# -lt 2 ]\nthen\n echo Usage: $0 bin_run_cmd python_run_cmd\n exit 2\nfi\n"
46      return res      return res

Legend:
Removed from v.2266  
changed lines
  Added in v.2270

  ViewVC Help
Powered by ViewVC 1.1.26