diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-09-13 10:50:32 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-09-20 04:43:14 +0000 |
commit | a8cad2038e9609382493eb6b6adcb5f5720e9bcc (patch) | |
tree | e6181ebaf148ce9837b3d17c2a811ab2ac2b48d5 /src/plugins/autotest/testsettings.h | |
parent | 4a20a596c8dd79ea3e9ac3b0d1b215547f997859 (diff) | |
download | qt-creator-a8cad2038e9609382493eb6b6adcb5f5720e9bcc.tar.gz |
AutoTest: Tweak run after successful build
Make it possible to distinguish between all and selected
test cases also for the automatic run after build feature.
Change-Id: I91715a7ae4f09cea2e31844940a6b21ae9e62157
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/autotest/testsettings.h')
-rw-r--r-- | src/plugins/autotest/testsettings.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/plugins/autotest/testsettings.h b/src/plugins/autotest/testsettings.h index 58a5492ad0..e3279009b3 100644 --- a/src/plugins/autotest/testsettings.h +++ b/src/plugins/autotest/testsettings.h @@ -36,6 +36,13 @@ QT_END_NAMESPACE namespace Autotest { namespace Internal { +enum class RunAfterBuildMode +{ + None, + All, + Selected +}; + struct TestSettings { TestSettings(); @@ -52,7 +59,7 @@ struct TestSettings bool popupOnStart = true; bool popupOnFinish = true; bool popupOnFail = false; - bool runAfterBuild = false; + RunAfterBuildMode runAfterBuild = RunAfterBuildMode::None; QHash<Core::Id, bool> frameworks; QHash<Core::Id, bool> frameworksGrouping; }; |