From 6719c437b4df2783dcda9dcd3bb1fae0a4f6ff0e Mon Sep 17 00:00:00 2001 From: stevenknight Date: Thu, 19 Jun 2003 03:05:54 +0000 Subject: [PATCH] Fix the ability to execute tests without Aegis. git-svn-id: http://scons.tigris.org/svn/scons/trunk@720 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- runtest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runtest.py b/runtest.py index aa8db9d0..2fbc9f49 100644 --- a/runtest.py +++ b/runtest.py @@ -157,13 +157,14 @@ def whereis(file): aegis = whereis('aegis') -sp = [] -spe = [] if aegis: sp = os.popen("aesub '$sp' 2>/dev/null", "r").read()[:-1] sp = string.split(sp, os.pathsep) spe = os.popen("aesub '$spe' 2>/dev/null", "r").read()[:-1] spe = string.split(spe, os.pathsep) +else: + sp = [cwd] + spe = [] class Test: def __init__(self, path, spe=None): -- 2.26.2