From 4301c5ca8d93799f540b94957f2b9050b2c89544 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 18 Mar 2019 09:08:36 +0100 Subject: 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 --- testing/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') 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 '{}'. -- cgit v1.2.3