# HG changeset patch
# User miauno
# Date 1422962800 -3600
# Node ID 81fdc0e7d49e95ac1d43f9142421f0ccaeb58d0c
# Parent  4557637e6f3799c4cf93d96e8cf12a28a959273c
8072401: [TESTBUG] Some of the newly added DCMD tests fail due to lack of -XX:+UsePerfData
Reviewed-by: jbachorik, sla

diff -r 4557637e6f37 -r 81fdc0e7d49e hotspot/test/serviceability/dcmd/framework/HelpTest.java
--- a/hotspot/test/serviceability/dcmd/framework/HelpTest.java	Mon Feb 02 21:19:39 2015 +0000
+++ b/hotspot/test/serviceability/dcmd/framework/HelpTest.java	Tue Feb 03 12:26:40 2015 +0100
@@ -35,7 +35,7 @@
  * @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 -r 4557637e6f37 -r 81fdc0e7d49e hotspot/test/serviceability/dcmd/framework/InvalidCommandTest.java
--- a/hotspot/test/serviceability/dcmd/framework/InvalidCommandTest.java	Mon Feb 02 21:19:39 2015 +0000
+++ b/hotspot/test/serviceability/dcmd/framework/InvalidCommandTest.java	Tue Feb 03 12:26:40 2015 +0100
@@ -35,7 +35,7 @@
  * @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 -r 4557637e6f37 -r 81fdc0e7d49e hotspot/test/serviceability/dcmd/framework/VMVersionTest.java
--- a/hotspot/test/serviceability/dcmd/framework/VMVersionTest.java	Mon Feb 02 21:19:39 2015 +0000
+++ b/hotspot/test/serviceability/dcmd/framework/VMVersionTest.java	Tue Feb 03 12:26:40 2015 +0100
@@ -36,7 +36,7 @@
  * @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) {