simplify exclusion of OS specific tests condition
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/210d8777 Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/210d8777 Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/210d8777 Branch: refs/heads/GROOVY_2_4_X Commit: 210d87774d029eb512a70a55bd25d0ac4d18aa83 Parents: a9f0547 Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Fri Jul 10 19:08:53 2015 +0200 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Fri Jul 10 19:29:25 2015 +0200 ---------------------------------------------------------------------- gradle/test.gradle | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/210d8777/gradle/test.gradle ---------------------------------------------------------------------- diff --git a/gradle/test.gradle b/gradle/test.gradle index 9732005..19f536d 100644 --- a/gradle/test.gradle +++ b/gradle/test.gradle @@ -89,15 +89,11 @@ def buildExcludeFilter() { def excludes = [] // deal with OS specific tests - def windowsTests = ['ExecuteTest_Windows'] - def unixTests = ['ExecuteTest_LinuxSolaris'] - Set osSpecificTests = [*windowsTests, *unixTests] if (Os.isFamily(Os.FAMILY_WINDOWS)) { - osSpecificTests.removeAll windowsTests + excludes << 'ExecuteTest_LinuxSolaris' } else if (Os.isFamily(Os.FAMILY_UNIX)) { - osSpecificTests.removeAll unixTests + excludes << 'ExecuteTest_Windows' } - excludes += osSpecificTests // if not compiled with indy support, disable indy tests if (!rootProject.useIndy()) {