Jarek Kobus
63fc22e274
Process: Change signature of waitForXxx() functions
...
Change the arg to QDeadlineTimer type.
Change-Id: Id3dee0717e44130c16baf7925e5b06346a1a1ad1
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2024-01-23 07:09:22 +00:00
Jarek Kobus
2fca517068
Process test: Fix flakiness on linux / mac (2nd try)
...
It looks like when the running process outputs the newlines,
reading it may be split into separate chunks.
Avoid newlines in this test and use std::flush instead.
Amends bc3e30e7ec
Change-Id: I46be774b5509a1f0f60b289f6b6ffc9b46955b8f
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-01-05 13:05:51 +00:00
Jarek Kobus
2304dbb395
Process: Make multiRead test platform independent
...
Change-Id: Ife58e7b2a41ac35f8137acfc66ff827672f75de9
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-12-07 10:47:45 +00:00
Jarek Kobus
1ea1ea7747
Process: Add a test for reading the errorChannel
...
Change-Id: I3b1d35c8ef2be91ddd1591a0fa2dafedc268f916
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-12-07 10:47:39 +00:00
Jarek Kobus
f915a18a9e
Process test: Adjust timeouts to minimize a chance for flakiness
...
The flakiness happened on mac inside recursiveBlockingProcess test.
Change-Id: I4d461fcdae1ecbf29f89bfdb4ad7ba017724f14b
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io >
2023-11-03 14:12:52 +00:00
Jarek Kobus
922da1fbb3
Process test: Prevent empty loop from being optimized out
...
This should fix the macOS "Run tests" on GitHub Build Bot.
Change-Id: Iae185d47fa33c97c63480b10d5a25a1d4c13f532
Reviewed-by: Eike Ziller <eike.ziller@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-08-30 07:35:25 +00:00
Jarek Kobus
abb85b073a
QScopeGuard: Make all usages of QScopeGuard consistent
...
Change-Id: Icfc35ecbdbdee8dadbb1b17789694093427c3ed9
Reviewed-by: Marco Bubke <marco.bubke@qt.io >
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
2023-06-07 10:35:01 +00:00
Jarek Kobus
abce79939a
Tests: Rename tst_QtcProcess -> tst_Process
...
Follows 470c95c94b
Change-Id: Ie26b5677d28e645ab27aeebf5976b5507385716a
Reviewed-by: hjk <hjk@qt.io >
2023-05-05 12:35:50 +00:00