changeset 7784:7e84c2e6bdd2

8072401: [TESTBUG] Some of the newly added DCMD tests fail due to lack of -XX:+UsePerfData Reviewed-by: jbachorik, sla
author miauno
date Tue, 03 Feb 2015 12:26:40 +0100
parents 190387dac813
children d817c3987d6c
files test/serviceability/dcmd/framework/HelpTest.java test/serviceability/dcmd/framework/InvalidCommandTest.java test/serviceability/dcmd/framework/VMVersionTest.java
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/serviceability/dcmd/framework/HelpTest.java	Mon Feb 02 21:19:39 2015 +0000
+++ b/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/test/serviceability/dcmd/framework/InvalidCommandTest.java	Mon Feb 02 21:19:39 2015 +0000
+++ b/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/test/serviceability/dcmd/framework/VMVersionTest.java	Mon Feb 02 21:19:39 2015 +0000
+++ b/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) {