summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authordirkbaechle <devnull@localhost>2012-10-03 13:40:03 +0200
committerdirkbaechle <devnull@localhost>2012-10-03 13:40:03 +0200
commit1c13198a862686081f1991dd355900e5fdff8690 (patch)
tree28972b25a5bc9ba70bece2621adcc24af4d357ad /test/runtest
parent24b4400a2163360e58ed5117bdc3cfafb1f0cfa8 (diff)
downloadscons-1c13198a862686081f1991dd355900e5fdff8690.tar.gz
- final changes for bug2872 "Fix tests on Buildbot slaves", mainly switched all RPM tests to using the new rpmutils module
Diffstat (limited to 'test/runtest')
-rw-r--r--test/runtest/python.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/runtest/python.py b/test/runtest/python.py
index d406be49..bcbc0625 100644
--- a/test/runtest/python.py
+++ b/test/runtest/python.py
@@ -43,7 +43,9 @@ test_pass_py = os.path.join('test', 'pass.py')
head, python = os.path.split(TestRuntest.python)
head, dir = os.path.split(head)
-mypython = os.path.join(head, dir, os.path.pardir, dir, python)
+# We have to normalize the python path here, because some installations don't like
+# getting called with "/bin/../bin/python" as first argument, e.g. Fedora 17 Desktop.
+mypython = os.path.normpath(os.path.join(head, dir, os.path.pardir, dir, python))
def escape(s):
return s.replace('\\', '\\\\')