aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-runner
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-runner')
-rwxr-xr-xtests/test-runner/cmd/test-runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-runner/cmd/test-runner.py b/tests/test-runner/cmd/test-runner.py
index cbe8cfbf4..d7727e8d8 100755
--- a/tests/test-runner/cmd/test-runner.py
+++ b/tests/test-runner/cmd/test-runner.py
@@ -685,11 +685,12 @@ class TestRun(object):
"""
Walk through all the Tests and TestGroups, calling run().
"""
- logsymlink = os.path.join(os.getcwd(), 'current')
try:
os.chdir(self.outputdir)
except OSError:
fail('Could not change to directory %s' % self.outputdir)
+ # make a symlink to the output for the currently running test
+ logsymlink = os.path.join(self.outputdir, '../current')
if os.path.islink(logsymlink):
os.unlink(logsymlink)
if not os.path.exists(logsymlink):