Skip to content

Commit 915a15c

Browse files
Remove redundant MacAppStoreJlinkOptionsTest.testWithoutStripNativeCommands(). It duplicates ERR_MissingJLinkOptMacAppStore test case in ErrorTest
1 parent d85d67f commit 915a15c

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

test/jdk/tools/jpackage/macosx/MacAppStoreJlinkOptionsTest.java

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
import jdk.jpackage.test.Annotations.Test;
2626

2727
/**
28-
* Tests generation of app image with --mac-app-store and --jlink-options. jpackage should able
29-
* to generate app image if "--strip-native-commands" is specified for --jlink-options and should
30-
* fail if it is not specified.
28+
* Tests generation of app image with --mac-app-store and --jlink-options.
3129
*/
3230

3331
/*
@@ -50,13 +48,4 @@ public static void testWithStripNativeCommands() throws Exception {
5048

5149
cmd.executeAndAssertHelloAppImageCreated();
5250
}
53-
54-
@Test
55-
public static void testWithoutStripNativeCommands() throws Exception {
56-
JPackageCommand cmd = JPackageCommand.helloAppImage();
57-
cmd.addArguments("--mac-app-store", "--jlink-options",
58-
"--strip-debug --no-man-pages --no-header-files");
59-
60-
cmd.execute(1);
61-
}
6251
}

0 commit comments

Comments
 (0)