Skip to content

Commit

Permalink
don't log silent tests to config.log
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ossilator committed Nov 7, 2016
1 parent 6c7f81c commit b497908
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions mkspecs/features/qt_configure.prf
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,7 @@ defineTest(qtConfHandleLibrary) {
return()
}

qtLogTestIntro($${lpfx})
msg = "looking for library $${1}"
write_file($$QMAKE_CONFIG_LOG, msg, append)
qtLogTestIntro($${lpfx}, "looking for library $${1}")

result = false
for (s, $${lpfx}.sources._KEYS_) {
Expand Down Expand Up @@ -796,6 +794,7 @@ defineTest(qtLogTestIntro) {

log("Checking for $${label}... ")
$$QMAKE_CONFIG_VERBOSE: log("$$escape_expand(\\n)")
write_file($$QMAKE_CONFIG_LOG, 2, append)
}

defineTest(qtLogTestResult) {
Expand Down Expand Up @@ -921,9 +920,7 @@ defineTest(qtRunSingleTest) {
qtConfLoadResult($${tpfx}, $$1): \
return()

qtLogTestIntro($${tpfx})
msg = "executing config test $${1}"
write_file($$QMAKE_CONFIG_LOG, msg, append)
qtLogTestIntro($${tpfx}, "executing config test $${1}")

result = false
$${call}($${tpfx}): result = true
Expand Down

0 comments on commit b497908

Please sign in to comment.