Commit 3c56e33a authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

tst_QProcess: Remove macro QPROCESS_VERIFY().


It was used to verify waitForFinished() and printed QProcess::errorString()
on failure, which is misleading, since the process is not
in an error state - it is still running. Example:

QWARN  : tst_QProcess::setStandardOutputFileAndWaitForBytesWritten() QProcess error: 5: Unknown error
FAIL!  : tst_QProcess::setStandardOutputFileAndWaitForBytesWritten() 'ret' returned FALSE. ()

Use a plain QVERIFY instead.

Task-number: QTBUG-47370
Change-Id: Iacfa6e1a5ffd2be4e1257a27a400ccc59671e8c8
Reviewed-by: default avatarJędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
parent 2182d6ae
Branches
Tags
No related merge requests found
Showing with 7 additions and 15 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment