diff options
author | Robert Griebl <robert.griebl@qt.io> | 2023-11-17 12:25:43 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2023-11-20 11:53:44 +0100 |
commit | 453e5ec3292cd80bbb70989e8dcc364e1d1205f5 (patch) | |
tree | 325db0fafee7d807de58697cce5454dc22ba833d /tests | |
parent | 5ada19797411aac2986b47bc0ef00f7788f979a9 (diff) |
Use the same exit-codes for single process apps on all platforms
Special-casing Windows here doesn't make sense and only complicates
unit testing.
Change-Id: Ia1280f9762394caf69d67a30f0e803fe545e94df
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/simple/tst_applicationmanager.qml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/qml/simple/tst_applicationmanager.qml b/tests/auto/qml/simple/tst_applicationmanager.qml index 34756f18..30cc8f8b 100644 --- a/tests/auto/qml/simple/tst_applicationmanager.qml +++ b/tests/auto/qml/simple/tst_applicationmanager.qml @@ -269,11 +269,9 @@ TestCase { {tag: "Debug", appId: "tld.test.simple1", index: 0, forceKill: false, exitCode: 0, exitStatus: Am.NormalExit }, {tag: "ForceKill", appId: "tld.test.simple2", index: 1, forceKill: true, - exitCode: Qt.platform.os !== 'windows' ? 9 : 0, - exitStatus: Am.ForcedExit }, + exitCode: 9, exitStatus: Am.ForcedExit }, {tag: "AutoTerminate", appId: "tld.test.simple2", index: 1, forceKill: false, - exitCode: Qt.platform.os !== 'windows' ? 15 : 0, - exitStatus: Am.ForcedExit } + exitCode: 15, exitStatus: Am.ForcedExit } ]; } |