Skip to content

Commit

Permalink
SapMachine #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 534b149 commit 433ede7
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 @@ -63,7 +63,9 @@ tier1_sapmachine = \
java/net/Socket/ExceptionText.java \
java/util/jar/Manifest/IncludeInExceptionsTest.java \
jdk/security/JavaDotSecurity/TestJDKIncludeInExceptions.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 @@ -61,7 +61,9 @@ public class VersionCheck extends TestHelper {
"jmc.ini",
"jweblauncher",
"jpackage",
"ssvagent"
"ssvagent",
// 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 @@ -107,7 +109,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 433ede7

Please sign in to comment.