summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-01-10 21:52:36 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2011-01-10 21:52:36 (GMT)
commite8f9a5048987caf45f59e802326c198ca56f5293 (patch)
treeb7beb68141372fe4e4bdcb3dbf37b0897d9ef82a
parente5c522d4358bd6c9776c84c7fcfffb120d76725e (diff)
downloadQt-e8f9a5048987caf45f59e802326c198ca56f5293.zip
Qt-e8f9a5048987caf45f59e802326c198ca56f5293.tar.gz
Qt-e8f9a5048987caf45f59e802326c198ca56f5293.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