diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-08-01 13:04:24 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-08-18 17:09:38 +0000 |
commit | 492d7d14fc813a858fa98ae048137a6b45155db0 (patch) | |
tree | 6868681a604cc007e3573eb8fbebdffa63460bd6 /dist/changes-3.0.2 | |
parent | f99f28de319218faecf1b8c73d67ac7781554d06 (diff) |
improve handling of test commands which produce output
never use $$system() directly, but instead use qtRunLoggedCommand() with
a newly introduced out parameter. that way we can print the command's
raw output, which should help debugging configure problems.
additionally, we now consistently check the exit code of all executed
commands, which should avoid confusing followup errors.
note that as a side effect some calls now use $$system()'s 'lines' mode
instead of the bizarre default splitting mode. this has no impact on any
of the cases, which is why it is basically a negligible style change at
this point.
however, qtLog() gained support for arguments with more than one element
to accommodate this.
Change-Id: I40d907e27de32dfec8d6086ce7d93fc4be18241f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'dist/changes-3.0.2')
0 files changed, 0 insertions, 0 deletions