diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-10-05 11:44:45 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-10-11 11:22:14 +0200 |
commit | 50561716f02ea4c7c472905f941f81aef173c9e5 (patch) | |
tree | 9f76765aa61fcbc750811339cd456a75b6871f5c /tests/auto/corelib/kernel | |
parent | 1f07199a48be68556c7ed10915bb022aca4f1af9 (diff) |
Distinguish the repeats of QSystemSemaphor's processes tests
It's not clear why this test repeats each test-case five times, but
give the duplicates distinct names, at least.
Change-Id: I4a098d90c3fe6f61842745c1d5f62047fe13a9b5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/kernel')
-rw-r--r-- | tests/auto/corelib/kernel/qsystemsemaphore/tst_qsystemsemaphore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/kernel/qsystemsemaphore/tst_qsystemsemaphore.cpp b/tests/auto/corelib/kernel/qsystemsemaphore/tst_qsystemsemaphore.cpp index 4435256d97..1ba789e12d 100644 --- a/tests/auto/corelib/kernel/qsystemsemaphore/tst_qsystemsemaphore.cpp +++ b/tests/auto/corelib/kernel/qsystemsemaphore/tst_qsystemsemaphore.cpp @@ -172,9 +172,9 @@ void tst_QSystemSemaphore::processes_data() { QTest::addColumn<int>("processes"); for (int i = 0; i < 5; ++i) { - QTest::newRow("1 process") << 1; - QTest::newRow("3 process") << 3; - QTest::newRow("10 process") << 10; + QTest::addRow("1 process (%d)", i) << 1; + QTest::addRow("3 process (%d)", i) << 3; + QTest::addRow("10 process (%d)", i) << 10; } } |