aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-20 13:31:17 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-20 13:31:17 -0800
commit5f9d615d8d2abfdff9cb1aa9ec1d94f7d8142342 (patch)
treee9b785c18bb59a2a7ff864a600c67fc343f970d1 /templates/tools/run_tests
parentcc07b2d0944def65aaf9428a392d16e97021080a (diff)
Make run_tests.py respect the run= attribute
Diffstat (limited to 'templates/tools/run_tests')
-rw-r--r--templates/tools/run_tests/tests.json.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/tools/run_tests/tests.json.template b/templates/tools/run_tests/tests.json.template
index 04a5137f39..f28a1daad8 100644
--- a/templates/tools/run_tests/tests.json.template
+++ b/templates/tools/run_tests/tests.json.template
@@ -4,6 +4,6 @@ import json
${json.dumps([{"name": tgt.name, "language": tgt.language}
for tgt in targets
- if tgt.build == "test" and tgt.name[-5:] == "_test"],
+ if tgt.get('run', True)],
sort_keys=True, indent=2)}