summaryrefslogtreecommitdiff
path: root/framework/gleantest.py
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-04-15 16:41:58 -0600
committerBrian Paul <brianp@vmware.com>2009-04-15 16:41:58 -0600
commit105ed1ab5defff6ddcf94440a9fbaa342d79055f (patch)
treef33b7e225e16fe8a8ae60f8e07064661d8e7600c /framework/gleantest.py
parent34df16b25e2ca34d0840bd79678e5e5a04e79bca (diff)
use os.path.join() so we can run on Windows
Diffstat (limited to 'framework/gleantest.py')
-rw-r--r--framework/gleantest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/gleantest.py b/framework/gleantest.py
index d6d1ac74..960224b8 100644
--- a/framework/gleantest.py
+++ b/framework/gleantest.py
@@ -34,7 +34,7 @@ def gleanExecutable():
return testBinDir + 'glean'
def gleanResultDir():
- return "./results/glean/"
+ return os.path.join('.', 'results', 'glean')
class GleanTest(Test):
globalParams = []
@@ -51,10 +51,10 @@ class GleanTest(Test):
for e in self.env:
fullenv[e] = str(self.env[e])
- checkDir(gleanResultDir()+self.name, False)
+ checkDir(os.path.join(gleanResultDir(), self.name), False)
glean = subprocess.Popen(
- [gleanExecutable(), "-r", gleanResultDir()+self.name,
+ [gleanExecutable(), "-r", os.path.join(gleanResultDir(), self.name),
"-o",
"-v", "-v", "-v",
"-t", "+"+self.name] + GleanTest.globalParams,