diff options
author | Steven Knight <knight@baldmt.com> | 2002-02-26 21:00:23 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-02-26 21:00:23 (GMT) |
commit | 024596366a4d3c03942015b2c7e09ed080d8a6b2 (patch) | |
tree | 746050e42e425bcc4a10ee751bc775b9d04f070e /runtest.py | |
parent | 22377ca1715d2b67a5e72cdede0fb0103e4c7ff1 (diff) | |
download | SCons-024596366a4d3c03942015b2c7e09ed080d8a6b2.zip SCons-024596366a4d3c03942015b2c7e09ed080d8a6b2.tar.gz SCons-024596366a4d3c03942015b2c7e09ed080d8a6b2.tar.bz2 |
Extend SConstruct et al. to build .zip files, and to build the scons-src package on Win32 platforms.
Diffstat (limited to 'runtest.py')
-rw-r--r-- | runtest.py | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -88,7 +88,9 @@ if package: 'deb' : 'usr', 'rpm' : 'usr', 'src-tar-gz' : '', + 'src-zip' : '', 'tar-gz' : '', + 'zip' : '', } if not dir.has_key(package): @@ -97,9 +99,12 @@ if package: test_dir = os.path.join(cwd, 'build', 'test-%s' % package) - scons_dir = os.path.join(test_dir, dir[package], 'bin') - - lib_dir = os.path.join(test_dir, dir[package], 'lib', 'scons') + if sys.platform == 'win32': + scons_dir = os.path.join(test_dir, dir[package], 'Scripts') + lib_dir = os.path.join(test_dir, dir[package]) + else: + scons_dir = os.path.join(test_dir, dir[package], 'bin') + lib_dir = os.path.join(test_dir, dir[package], 'lib', 'scons') else: |