diff options
author | dirkbaechle <devnull@localhost> | 2012-10-03 13:40:03 +0200 |
---|---|---|
committer | dirkbaechle <devnull@localhost> | 2012-10-03 13:40:03 +0200 |
commit | 1c13198a862686081f1991dd355900e5fdff8690 (patch) | |
tree | 28972b25a5bc9ba70bece2621adcc24af4d357ad /test/runtest | |
parent | 24b4400a2163360e58ed5117bdc3cfafb1f0cfa8 (diff) | |
download | scons-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.py | 4 |
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('\\', '\\\\') |