summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-02-26 21:00:23 (GMT)
committerSteven Knight <knight@baldmt.com>2002-02-26 21:00:23 (GMT)
commit024596366a4d3c03942015b2c7e09ed080d8a6b2 (patch)
tree746050e42e425bcc4a10ee751bc775b9d04f070e /runtest.py
parent22377ca1715d2b67a5e72cdede0fb0103e4c7ff1 (diff)
downloadSCons-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.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/runtest.py b/runtest.py
index af6e258..400f84c 100644
--- a/runtest.py
+++ b/runtest.py
@@ -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: