summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtest.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/runtest.py b/runtest.py
index 2fbc9f4..6508999 100644
--- a/runtest.py
+++ b/runtest.py
@@ -157,15 +157,18 @@ def whereis(file):
aegis = whereis('aegis')
+sp = []
+
if aegis:
- sp = os.popen("aesub '$sp' 2>/dev/null", "r").read()[:-1]
- sp = string.split(sp, os.pathsep)
+ paths = os.popen("aesub '$sp' 2>/dev/null", "r").read()[:-1]
+ sp.extend(string.split(paths, os.pathsep))
spe = os.popen("aesub '$spe' 2>/dev/null", "r").read()[:-1]
spe = string.split(spe, os.pathsep)
else:
- sp = [cwd]
spe = []
+sp.append(cwd)
+
class Test:
def __init__(self, path, spe=None):
self.path = path