summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-02-20 16:58:42 (GMT)
committerSteven Knight <knight@baldmt.com>2002-02-20 16:58:42 (GMT)
commit50f31ea7ecee2c171457ab743b0c088cbc6104ec (patch)
treeba3d819fb6437d4db99e1b6bc3f6d1f900c4c5d4 /runtest.py
parent750a1fd4bd22d3c940cd4c9167c4bee3abc08d95 (diff)
downloadSCons-50f31ea7ecee2c171457ab743b0c088cbc6104ec.zip
SCons-50f31ea7ecee2c171457ab743b0c088cbc6104ec.tar.gz
SCons-50f31ea7ecee2c171457ab743b0c088cbc6104ec.tar.bz2
Fix runtest.py for new package-testing scheme baseline tests.
Diffstat (limited to 'runtest.py')
-rw-r--r--runtest.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtest.py b/runtest.py
index 2344b98..0f2acb6 100644
--- a/runtest.py
+++ b/runtest.py
@@ -55,7 +55,7 @@ else:
lib_dir = os.path.join(sys.exec_prefix, "lib", "python" + sys.version[0:3])
opts, tests = getopt.getopt(sys.argv[1:], "adqp:",
- ['all','build=','debug','quiet','version='])
+ ['all', 'debug', 'quiet', 'package='])
for o, a in opts:
if o == '-a' or o == '--all': all = 1
@@ -107,7 +107,9 @@ else:
lib_dir = os.path.join(cwd, 'src', 'engine')
-os.environ['PYTHONPATH'] = lib_dir + os.pathsep + os.path.join(cwd, 'etc')
+os.environ['PYTHONPATH'] = lib_dir + \
+ os.pathsep + \
+ os.path.join(cwd, 'build', 'etc')
os.chdir(scons_dir)