Avoid bundled jdk test on legacy platforms

This commit skips a test of bundled jdk behavior on legacy platforms
that can't run the bundled jdk.
This commit is contained in:
Ryan Ernst 2020-09-24 15:21:23 -07:00
parent 54064a1eec
commit 9c0444145e
No known key found for this signature in database
GPG Key ID: 5F7EA39E15F54DCE
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ public class ArchiveTests extends PackagingTestCase {
} }
public void test30MissingBundledJdk() throws Exception { public void test30MissingBundledJdk() throws Exception {
assumeTrue(Platforms.IS_BUNDLED_JDK_SUPPORTED);
final Installation.Executables bin = installation.executables(); final Installation.Executables bin = installation.executables();
sh.getEnv().remove("JAVA_HOME"); sh.getEnv().remove("JAVA_HOME");