From a2535454873076bd1cc673c9bcdd3f78d2028a1b Mon Sep 17 00:00:00 2001 From: Staffan Larsen Date: Thu, 7 Jun 2012 15:28:38 +0200 Subject: [PATCH] 7165257: Add JFR tests to the JDK code base Reviewed-by: ohair, dholmes, nloodin, mgronlun --- jdk/make/jprt.properties | 1 + jdk/test/Makefile | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/jdk/make/jprt.properties b/jdk/make/jprt.properties index 2e4e0fb8ac7..f41a227d30e 100644 --- a/jdk/make/jprt.properties +++ b/jdk/make/jprt.properties @@ -89,6 +89,7 @@ jprt.make.rule.core.test.targets= \ ${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) diff --git a/jdk/test/Makefile b/jdk/test/Makefile index 0fd156b299e..9f96ba405e7 100644 --- a/jdk/test/Makefile +++ b/jdk/test/Makefile @@ -609,6 +609,16 @@ jdk_tools2: $(call TestDirs, \ 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