Skip to content

Commit

Permalink
SapMachine SAP#1823: Fix some tools tests after adding asprof
Browse files Browse the repository at this point in the history
(cherry picked from commit a92d841)
  • Loading branch information
MBaesken authored and RealCLanger committed Oct 8, 2024
1 parent 844db49 commit 04384f3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion test/jdk/TEST.groups
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ tier1_sapmachine = \
java/util/jar/Manifest/IncludeInExceptionsTest.java \
jdk/security/JavaDotSecurity/TestJDKIncludeInExceptions.java \
sun/net/www/http/KeepAliveCache/TestConnectionIDFeature.java \
sun/security/lib/cacerts/VerifyCACerts.java
sun/security/lib/cacerts/VerifyCACerts.java \
tools/launcher/HelpFlagsTest.java \
tools/launcher/VersionCheck.java

# When adding tests to tier2, make sure they end up in one of the tier2_partX groups
tier2 = \
Expand Down
4 changes: 3 additions & 1 deletion test/jdk/tools/launcher/HelpFlagsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ public class HelpFlagsTest extends TestHelper {
"jmc",
"jweblauncher",
"jcontrol",
"ssvagent"
"ssvagent",
// SapMachine 2024-10-07: asprof was added on some platforms but has different command line flags
"asprof"
};

// Lists which tools support which flags.
Expand Down
8 changes: 6 additions & 2 deletions test/jdk/tools/launcher/VersionCheck.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ public class VersionCheck extends TestHelper {
"jweblauncher",
"jpackage",
"ssvagent",
"jwebserver"
"jwebserver",
// SapMachine 2024-10-07: asprof was added on some platforms but has different command line flags
"asprof"
};

// tools that do not accept -version
Expand Down Expand Up @@ -108,7 +110,9 @@ public class VersionCheck extends TestHelper {
"rmiregistry",
"serialver",
"servertool",
"ssvagent"
"ssvagent",
// SapMachine 2024-10-07: asprof was added on some platforms but has different command line flags
"asprof"
};

// expected reference strings
Expand Down

0 comments on commit 04384f3

Please sign in to comment.