8072401: [TESTBUG] Some of the newly added DCMD tests fail due to lack of -XX:+UsePerfData
Reviewed-by: jbachorik, sla
--- 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) {
--- 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 {
--- 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) {