mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-23 13:16:48 +08:00
Amendment to previous commit for ext repo test support
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user