From 615b9c1f06c1d95da5bfad7dca2b27e4fbaaada8 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 15 Jul 2016 20:46:24 +0200 Subject: make sure that we capture the entire test command's output the command can be a compound statement (usually 'foo && bar' style), so enclose it in parens before redirecting stderr. Change-Id: Ib72a2c8ddfd17bf9457e9cfe2652121258ce9a64 Reviewed-by: Lars Knoll --- mkspecs/features/configure_base.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkspecs/features') diff --git a/mkspecs/features/configure_base.prf b/mkspecs/features/configure_base.prf index 3397a7703e..31e8116490 100644 --- a/mkspecs/features/configure_base.prf +++ b/mkspecs/features/configure_base.prf @@ -33,7 +33,7 @@ defineTest(qtLog) { defineTest(qtRunLoggedCommand) { qtLog($$1) - output = $$system("$$1 2>&1", blob, result) + output = $$system("( $$1 ) 2>&1", blob, result) write_file($${QMAKE_CONFIG_LOG}, output, append) $$QMAKE_CONFIG_VERBOSE: log($$output) -- cgit v1.2.3