From 3d71c9606ee919438820a00099ded468e118df53 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Tue, 24 Dec 2019 17:06:57 +0000 Subject: [PATCH] Exclude smoke test by default --- build.gradle | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 2bbe7e7c..b8456ac7 100644 --- a/build.gradle +++ b/build.gradle @@ -116,11 +116,15 @@ configure(allprojects) { test { useJUnitPlatform { - if (project.hasProperty('statemachineIncludeTags') && statemachineIncludeTags.size() > 0) { - includeTags = statemachineIncludeTags.split(',') - } - if (project.hasProperty('statemachineExcludeTags') && statemachineExcludeTags.size() > 0) { - excludeTags = statemachineExcludeTags.split(',') + if (!project.hasProperty('statemachineIncludeTags') && !project.hasProperty('statemachineExcludeTags')) { + excludeTags = ['smoke'] + } else { + if (project.hasProperty('statemachineIncludeTags') && statemachineIncludeTags.size() > 0) { + includeTags = statemachineIncludeTags.split(',') + } + if (project.hasProperty('statemachineExcludeTags') && statemachineExcludeTags.size() > 0) { + excludeTags = statemachineExcludeTags.split(',') + } } } exclude '**/*IntegrationTests.*'