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>
This commit is contained in:
Christian Stenger
2019-09-13 10:50:32 +02:00
parent 4a20a596c8
commit a8cad2038e
9 changed files with 87 additions and 31 deletions

View File

@@ -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;
};