diff options
Diffstat (limited to 'testing/runner.py')
-rw-r--r-- | testing/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/runner.py b/testing/runner.py index baa29408c..3db84c0fc 100644 --- a/testing/runner.py +++ b/testing/runner.py @@ -102,7 +102,7 @@ class TestRunner(object): else: # We have probably forgotten to build the tests. # Give a nice error message with a shortened but exact path. - rel_path = os.path.relpath(make_path) + rel_path = os.path.relpath(file_name) msg = dedent("""\n {line} ** ctest is not in '{}'. |