aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/run_tests
diff options
context:
space:
mode:
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..bb54489861 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) and tgt.build == 'test'],
sort_keys=True, indent=2)}