summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/trusted-benchmarks.pri
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/trusted-benchmarks.pri')
-rw-r--r--tests/benchmarks/trusted-benchmarks.pri11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/benchmarks/trusted-benchmarks.pri b/tests/benchmarks/trusted-benchmarks.pri
new file mode 100644
index 0000000000..a835cbdf1e
--- /dev/null
+++ b/tests/benchmarks/trusted-benchmarks.pri
@@ -0,0 +1,11 @@
+# Edit the list of trusted benchmarks in each of the sub-targets
+
+# command terminating newline in Makefile
+NL=$$escape_expand(\\n\\t)
+
+check-trusted.depends = qmake
+for(benchmark, TRUSTED_BENCHMARKS) {
+ check-trusted.commands += -cd $$benchmark && $(MAKE) -f $(MAKEFILE) check$${NL}
+}
+
+QMAKE_EXTRA_TARGETS += check-trusted