summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-03-18 09:08:36 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-03-18 08:29:31 +0000
commit4301c5ca8d93799f540b94957f2b9050b2c89544 (patch)
tree6eb8e429a394e7d4e28c18986fb3287713f6ae5b
parent45e3c96a8075d210b70eabdb2ef9c3f7f1ca17af (diff)
testrunner: Fix error message about forgotten --build-tests
Fix variable name changed by f30e4db5169800c25bf79573f650fc2b08d13046, fixing error: NameError global name 'make_path' is not defined Change-Id: Ieee3ba884e122cbc6e2cec267653481552a041d9 Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r--testing/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/runner.py b/testing/runner.py
index baa29408..3db84c0f 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 '{}'.