summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-17 04:57:00 (GMT)
committerSteven Knight <knight@baldmt.com>2001-09-17 04:57:00 (GMT)
commit3c81bb2bd0e009c0ee81570e17b0f87ad8d034ab (patch)
tree1a08c189644909cdadc489cce0eaa487e2c6f578 /runtest.py
parente2faf9c21bc7712fcdc547b7df0f12a6b2177601 (diff)
downloadSCons-3c81bb2bd0e009c0ee81570e17b0f87ad8d034ab.zip
SCons-3c81bb2bd0e009c0ee81570e17b0f87ad8d034ab.tar.gz
SCons-3c81bb2bd0e009c0ee81570e17b0f87ad8d034ab.tar.bz2
Run setup.py on the unpacked .tar.gz for testing.
Diffstat (limited to 'runtest.py')
-rw-r--r--runtest.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/runtest.py b/runtest.py
index 965e24c..9542e78 100644
--- a/runtest.py
+++ b/runtest.py
@@ -100,18 +100,20 @@ if build == 'aegis':
version = aegis_to_version(version)
- build_test = os.path.join(cwd, "build", "test")
- scons_dir = os.path.join(build_test, "scons-" + version)
+ scons_dir = os.path.join(cwd, 'build', 'test', 'bin')
- os.environ['PYTHONPATH'] = string.join([scons_dir,
- build_test],
- os.pathsep)
+ os.environ['PYTHONPATH'] = os.path.join(cwd,
+ 'build',
+ 'test',
+ 'lib',
+ 'python' + sys.version[0:3],
+ 'site-packages')
else:
- scons_dir = os.path.join(cwd, 'src')
+ scons_dir = os.path.join(cwd, 'src', 'script')
- os.environ['PYTHONPATH'] = string.join([os.path.join(cwd, 'src'),
+ os.environ['PYTHONPATH'] = string.join([os.path.join(cwd, 'src', 'engine'),
os.path.join(cwd, 'etc')],
os.pathsep)