diff options
author | Steven Knight <knight@baldmt.com> | 2002-11-22 22:38:22 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-11-22 22:38:22 (GMT) |
commit | c7ac33dc426b2bab7636bbade3c6dbc726eb3a71 (patch) | |
tree | 40285c73822414ef23a23bb98a95756e2864cb5c /runtest.py | |
parent | 8afed5c0a1749053e08465a4c9cf8d05f8fe2340 (diff) | |
download | SCons-c7ac33dc426b2bab7636bbade3c6dbc726eb3a71.zip SCons-c7ac33dc426b2bab7636bbade3c6dbc726eb3a71.tar.gz SCons-c7ac33dc426b2bab7636bbade3c6dbc726eb3a71.tar.bz2 |
Make Default(source) and -U fail gracefully. (Anthony Roach)
Diffstat (limited to 'runtest.py')
-rw-r--r-- | runtest.py | 25 |
1 files changed, 15 insertions, 10 deletions
@@ -245,16 +245,21 @@ if package: else: sd = None ld = None - if spe: - if not scons: - for dir in spe: - d = os.path.join(dir, 'src', 'script') - f = os.path.join(d, 'scons.py') - if os.path.isfile(f): - sd = d - scons = f - spe = map(lambda x: os.path.join(x, 'src', 'engine'), spe) - ld = string.join(spe, os.pathsep) + + # XXX: Logic like the following will be necessary once + # we fix runtest.py to run tests within an Aegis change + # without symlinks back to the baseline(s). + # + #if spe: + # if not scons: + # for dir in spe: + # d = os.path.join(dir, 'src', 'script') + # f = os.path.join(d, 'scons.py') + # if os.path.isfile(f): + # sd = d + # scons = f + # spe = map(lambda x: os.path.join(x, 'src', 'engine'), spe) + # ld = string.join(spe, os.pathsep) scons_dir = sd or os.path.join(cwd, 'src', 'script') |