summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-11-22 22:38:22 (GMT)
committerSteven Knight <knight@baldmt.com>2002-11-22 22:38:22 (GMT)
commitc7ac33dc426b2bab7636bbade3c6dbc726eb3a71 (patch)
tree40285c73822414ef23a23bb98a95756e2864cb5c /runtest.py
parent8afed5c0a1749053e08465a4c9cf8d05f8fe2340 (diff)
downloadSCons-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.py25
1 files changed, 15 insertions, 10 deletions
diff --git a/runtest.py b/runtest.py
index ebaf758..6120aa5 100644
--- a/runtest.py
+++ b/runtest.py
@@ -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')