diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2024-11-06 17:53:13 +0100 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2024-11-07 20:49:19 +0100 |
| commit | 4c00337ccb8e4266fa5a4af4fba40e5b62aba81b (patch) | |
| tree | 51bc0b5540b86d7a0aaaaa49c24f571cc20d8b92 /src/corelib/kernel/qmetaobject.cpp | |
| parent | 0a40266788021aaa2f501aeef6db2e222669c6e9 (diff) | |
tst_QPromise: fix handling of failures from nested functions
The commit 1f22fc995a36193cd67e8190858bb33614d149f4 introduced nested
functions without properly checking their return status with
QTest::currentTestFailed().
Later, commit 855c4484693015cb6498f2183d95de1377d49898 used the same
pattern.
Fix all the affected tests by wrapping the function calls into the
pre-existing RUN_TEST_FUNC macro.
Both commits were picked to 6.5, so do the same with this patch.
Pick-to: 6.8 6.5
Change-Id: I3e11bf5724d9b89c75a4e5c73c96f9566c36b5cd
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
0 files changed, 0 insertions, 0 deletions
