AutoTest: Add automatic run after build

Add an option to automatically run tests if the build
succeeded and the current project has tests.

Change-Id: I1fe028be84279b9b488f78590565c6d4b0449e34
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Christian Stenger
2019-08-08 09:57:42 +02:00
parent 43e27f76b3
commit 51382a846d
8 changed files with 54 additions and 5 deletions

View File

@@ -53,10 +53,12 @@ const char SK_USE_GLOBAL[] = "AutoTest.UseGlobal";
namespace Internal {
enum class TestRunMode
{
None,
Run,
RunWithoutDeploy,
Debug,
DebugWithoutDeploy
DebugWithoutDeploy,
RunAfterBuild
};
} // namespace Internal
} // namespace Autotest