7165257: Add JFR tests to the JDK code base
authorsla
Thu, 07 Jun 2012 15:28:38 +0200
changeset 12887 582f5a8047e9
parent 12884 8ff7cb7b7dd0
child 12888 fe0b35f8220b
7165257: Add JFR tests to the JDK code base Reviewed-by: ohair, dholmes, nloodin, mgronlun
jdk/make/jprt.properties
jdk/test/Makefile
--- a/jdk/make/jprt.properties	Fri Jun 08 09:55:20 2012 +0100
+++ b/jdk/make/jprt.properties	Thu Jun 07 15:28:38 2012 +0200
@@ -89,6 +89,7 @@
     ${jprt.my.test.target.set:TESTNAME=jdk_text},               \
     ${jprt.my.test.target.set:TESTNAME=jdk_tools1},             \
     ${jprt.my.test.target.set:TESTNAME=jdk_tools2},             \
+    ${jprt.my.test.target.set:TESTNAME=jdk_jfr},                \
     ${jprt.my.test.target.set:TESTNAME=jdk_misc}
 
 # All vm test targets (testset=all)
--- a/jdk/test/Makefile	Fri Jun 08 09:55:20 2012 +0100
+++ b/jdk/test/Makefile	Thu Jun 07 15:28:38 2012 +0200
@@ -609,6 +609,16 @@
 jdk_tools: jdk_tools1 jdk_tools2
 	@$(SummaryInfo)
 
+# Stable othervm testruns (minus items from PROBLEM_LIST)
+#   Using agentvm has serious problems with these tests
+ifdef OPENJDK
+jdk_jfr:
+else
+JDK_ALL_TARGETS += jdk_jfr
+jdk_jfr: $(call TestDirs, com/oracle/jfr)
+	$(call RunOthervmBatch)
+endif
+
 # Stable agentvm testruns (minus items from PROBLEM_LIST)
 JDK_ALL_TARGETS += jdk_util
 JDK_DEFAULT_TARGETS += jdk_util