summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-01-10 15:51:10 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2011-01-10 15:51:10 (GMT)
commitd64c805f8159f8d7b35ceedf3f4dfe4f659efeb6 (patch)
treea4769f60516373b9980b1458a595eb569e3a8aab
parentd37a3529ec883985b2967265f0797d749db74308 (diff)
downloadQt-d64c805f8159f8d7b35ceedf3f4dfe4f659efeb6.zip
Qt-d64c805f8159f8d7b35ceedf3f4dfe4f659efeb6.tar.gz
Qt-d64c805f8159f8d7b35ceedf3f4dfe4f659efeb6.tar.bz2
BM2: Little fix to make the `make check-trusted' to work on Linux and Windows.
Reviewed-by: Joao
-rw-r--r--tests/benchmarks/trusted-benchmarks.pri5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/benchmarks/trusted-benchmarks.pri b/tests/benchmarks/trusted-benchmarks.pri
index 632dcff..a835cbd 100644
--- a/tests/benchmarks/trusted-benchmarks.pri
+++ b/tests/benchmarks/trusted-benchmarks.pri
@@ -1,8 +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);
+ check-trusted.commands += -cd $$benchmark && $(MAKE) -f $(MAKEFILE) check$${NL}
}
QMAKE_EXTRA_TARGETS += check-trusted