Amendment to previous commit for ext repo test support

This commit is contained in:
adamopolous
2019-07-11 13:28:46 -04:00
parent 6e4cfcc647
commit 15b055b592

View File

@@ -241,6 +241,10 @@ def boolean shouldSkipTestTaskCreation(Project subproject) {
+ " 'excludeFromParallelTests' found.")
return true
}
subproject.ext.repoToTest = subproject.hasProperty('repoToTest') ? subproject.getProperty('repoToTest') : "ALL_REPOS"
if (!repoToTest.equals("ALL_REPOS") && !subproject.getProjectDir().toString().contains(repoToTest)) {
return true
}
return false
}
@@ -269,6 +273,10 @@ def boolean shouldSkipIntegrationTestTaskCreation(Project subproject) {
+ "'excludeFromParallelIntegrationTests' found.")
return true
}
subproject.ext.repoToTest = subproject.hasProperty('repoToTest') ? subproject.getProperty('repoToTest') : "ALL_REPOS"
if (!repoToTest.equals("ALL_REPOS") && !subproject.getProjectDir().toString().contains(repoToTest)) {
return true
}
return false
}