[seed] Testing: More os.path.join in run-tests.py, so tests should work on Windows
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Testing: More os.path.join in run-tests.py, so tests should work on Windows
- Date: Wed, 13 May 2009 01:33:21 -0400 (EDT)
commit 2d22388e318c7bb5ecd0df4f2b2d85d07bcc62a8
Author: Tim Horton <hortont svn gnome org>
Date: Wed May 13 01:32:42 2009 -0400
Testing: More os.path.join in run-tests.py, so tests should work on Windows
---
tests/run-tests.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/run-tests.py b/tests/run-tests.py
index 334bb85..b2e4209 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -30,7 +30,7 @@ for root, dirs, files in os.walk(os.path.join(mcwd,"javascript")):
p = subprocess.Popen(f, shell=True,
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, close_fds=True,
- cwd=mcwd+"/javascript/")
+ cwd=os.path.join(mcwd,"javascript"))
(out,err)=(p.stdout, p.stderr)
(run_out,run_err)=p.communicate(test_in + "\004")
@@ -56,7 +56,7 @@ for root, dirs, files in os.walk(os.path.join(mcwd,"javascript")):
except:
print "WARNING: Strange error in " + f + "\n\n"
-p = subprocess.Popen(os.path.join(mcwd, "c/test"), shell=True,
+p = subprocess.Popen(os.path.join(mcwd, "c", "test"), shell=True,
stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, close_fds=True);
(c_out, c_err) = p.communicate()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]