/[escript]/trunk/site_scons/grouptest.py
ViewVC logotype

Diff of /trunk/site_scons/grouptest.py

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

revision 3375 by jfenwick, Wed Nov 17 23:32:36 2010 UTC revision 3376 by caltinay, Tue Nov 23 01:56:20 2010 UTC
# Line 59  class GroupTest: Line 59  class GroupTest:
59      res=res+"\nexport LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH\n"      res=res+"\nexport LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH\n"
60      if build_platform=='darwin':      if build_platform=='darwin':
61          res=res+"export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DYLD_LIBRARY_PATH\n"          res=res+"export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DYLD_LIBRARY_PATH\n"
62      res=res+"\nexport OLD_PYTHON=`pwd`:$PYTHONPATH\nBINRUNNER=\"`pwd`/bin/escript -b $2\"\nPYTHONRUNNER=\"`pwd`/bin/escript $2\"\nBATCH_ROOT=`pwd`\n"      res=res+"\nexport OLD_PYTHON=`pwd`:$PYTHONPATH\nBINRUNNER=\"`pwd`/bin/run-escript -b $2\"\nPYTHONRUNNER=\"`pwd`/bin/run-escript $2\"\nBATCH_ROOT=`pwd`\n"
63      res=res+"BUILD_DIR=$1"+"/"+build_platform      res=res+"BUILD_DIR=$1"+"/"+build_platform
64      res=res+"\nif [ ! -d $BUILD_DIR ]\nthen\n echo Can not find build directory $BUILD_DIR\n exit 2\nfi\n"      res=res+"\nif [ ! -d $BUILD_DIR ]\nthen\n echo Can not find build directory $BUILD_DIR\n exit 2\nfi\n"
65      #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"

Legend:
Removed from v.3375  
changed lines
  Added in v.3376

  ViewVC Help
Powered by ViewVC 1.1.26