don't log silent tests to config.log

they were already omitted from the console output; there is no need to
spam the log with them (their completion was not logged, either).

Change-Id: I32c97413d2e6ceb18ee61356855cc6a7fa2222bf
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Oswald Buddenhagen 2016-11-02 18:00:16 +01:00
parent 6c7f81cac9
commit b4979082b8

View File

@ -611,9 +611,7 @@ defineTest(qtConfHandleLibrary) {
return() return()
} }
qtLogTestIntro($${lpfx}) qtLogTestIntro($${lpfx}, "looking for library $${1}")
msg = "looking for library $${1}"
write_file($$QMAKE_CONFIG_LOG, msg, append)
result = false result = false
for (s, $${lpfx}.sources._KEYS_) { for (s, $${lpfx}.sources._KEYS_) {
@ -796,6 +794,7 @@ defineTest(qtLogTestIntro) {
log("Checking for $${label}... ") log("Checking for $${label}... ")
$$QMAKE_CONFIG_VERBOSE: log("$$escape_expand(\\n)") $$QMAKE_CONFIG_VERBOSE: log("$$escape_expand(\\n)")
write_file($$QMAKE_CONFIG_LOG, 2, append)
} }
defineTest(qtLogTestResult) { defineTest(qtLogTestResult) {
@ -921,9 +920,7 @@ defineTest(qtRunSingleTest) {
qtConfLoadResult($${tpfx}, $$1): \ qtConfLoadResult($${tpfx}, $$1): \
return() return()
qtLogTestIntro($${tpfx}) qtLogTestIntro($${tpfx}, "executing config test $${1}")
msg = "executing config test $${1}"
write_file($$QMAKE_CONFIG_LOG, msg, append)
result = false result = false
$${call}($${tpfx}): result = true $${call}($${tpfx}): result = true