mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-09 14:08:03 -05:00
Added fix to prevent ext-u tests from running when only ext is selected
This commit is contained in:
@@ -242,7 +242,7 @@ def boolean shouldSkipTestTaskCreation(Project subproject) {
|
||||
return true
|
||||
}
|
||||
subproject.ext.repoToTest = subproject.hasProperty('repoToTest') ? subproject.getProperty('repoToTest') : "ALL_REPOS"
|
||||
if (!repoToTest.equals("ALL_REPOS") && !subproject.getProjectDir().toString().contains(repoToTest)) {
|
||||
if (!repoToTest.equals("ALL_REPOS") && !subproject.getProjectDir().toString().contains("/" + repoToTest + "/")) {
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -274,7 +274,7 @@ def boolean shouldSkipIntegrationTestTaskCreation(Project subproject) {
|
||||
return true
|
||||
}
|
||||
subproject.ext.repoToTest = subproject.hasProperty('repoToTest') ? subproject.getProperty('repoToTest') : "ALL_REPOS"
|
||||
if (!repoToTest.equals("ALL_REPOS") && !subproject.getProjectDir().toString().contains(repoToTest)) {
|
||||
if (!repoToTest.equals("ALL_REPOS") && !subproject.getProjectDir().toString().contains("/" + repoToTest + "/")) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user