From eb678303333806b59bc5e92f6f84d1d222a96fe1 Mon Sep 17 00:00:00 2001 From: Mikael Auno Date: Tue, 3 Feb 2015 12:26:40 +0100 Subject: [PATCH] 8072401: [TESTBUG] Some of the newly added DCMD tests fail due to lack of -XX:+UsePerfData Reviewed-by: jbachorik, sla --- hotspot/test/serviceability/dcmd/framework/HelpTest.java | 2 +- .../test/serviceability/dcmd/framework/InvalidCommandTest.java | 2 +- hotspot/test/serviceability/dcmd/framework/VMVersionTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hotspot/test/serviceability/dcmd/framework/HelpTest.java b/hotspot/test/serviceability/dcmd/framework/HelpTest.java index 3c4df10dabb..fd0a57d607a 100644 --- a/hotspot/test/serviceability/dcmd/framework/HelpTest.java +++ b/hotspot/test/serviceability/dcmd/framework/HelpTest.java @@ -35,7 +35,7 @@ import org.testng.annotations.Test; * @library /testlibrary * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* - * @run testng HelpTest + * @run testng/othervm -XX:+UsePerfData HelpTest */ public class HelpTest { public void run(CommandExecutor executor) { diff --git a/hotspot/test/serviceability/dcmd/framework/InvalidCommandTest.java b/hotspot/test/serviceability/dcmd/framework/InvalidCommandTest.java index d073ac0ffd1..b584308ed1a 100644 --- a/hotspot/test/serviceability/dcmd/framework/InvalidCommandTest.java +++ b/hotspot/test/serviceability/dcmd/framework/InvalidCommandTest.java @@ -35,7 +35,7 @@ import org.testng.annotations.Test; * @library /testlibrary * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* - * @run testng InvalidCommandTest + * @run testng/othervm -XX:+UsePerfData InvalidCommandTest */ public class InvalidCommandTest { diff --git a/hotspot/test/serviceability/dcmd/framework/VMVersionTest.java b/hotspot/test/serviceability/dcmd/framework/VMVersionTest.java index ca834db2d34..c46faae3287 100644 --- a/hotspot/test/serviceability/dcmd/framework/VMVersionTest.java +++ b/hotspot/test/serviceability/dcmd/framework/VMVersionTest.java @@ -36,7 +36,7 @@ import org.testng.annotations.Test; * @library /testlibrary * @build com.oracle.java.testlibrary.* * @build com.oracle.java.testlibrary.dcmd.* - * @run testng VMVersionTest + * @run testng/othervm -XX:+UsePerfData VMVersionTest */ public class VMVersionTest { public void run(CommandExecutor executor) {