diff options
author | Steven Knight <knight@baldmt.com> | 2001-09-17 04:57:00 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-09-17 04:57:00 (GMT) |
commit | 3c81bb2bd0e009c0ee81570e17b0f87ad8d034ab (patch) | |
tree | 1a08c189644909cdadc489cce0eaa487e2c6f578 /runtest.py | |
parent | e2faf9c21bc7712fcdc547b7df0f12a6b2177601 (diff) | |
download | SCons-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.py | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -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) |