aboutsummaryrefslogtreecommitdiffstats
path: root/testing/command.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2017-11-25 17:57:21 +0100
committerChristian Tismer <tismer@stackless.com>2017-12-21 15:03:51 +0000
commitb066cee55b290261e55ec4a5b11a87c417c2a4f0 (patch)
tree2d70d6014a42a0c83d86727fc1e1a1dbad428f63 /testing/command.py
parenta01bb6b4953c2c77c2dc32d44470c4063c368a31 (diff)
testrunner 3: Replace (n)make and tee by ctest
Before working on the algorithm, we simplify the testrunner by using ctest directly. This has also the advantage that we can control much better how the output is generated. By interrogating the Makefile, we can now detect early if ctest was configured in setup.py . Task-number: PYSIDE-578 Change-Id: I1157576bf5806044465d7a1409c3d26810f33f62 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'testing/command.py')
-rw-r--r--testing/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/command.py b/testing/command.py
index 5d37f63e6..9f91cdbfb 100644
--- a/testing/command.py
+++ b/testing/command.py
@@ -225,5 +225,5 @@ def main():
# We simply check if any tests were found.
if len(result) == 0:
path = builds.selected.build_dir
- project = os.path.join(path, args.project)
+ project = os.path.join(path, project)
raise ValueError("there are no tests in %s" % project)