From b52293591905f4c5ba24cd1396929ef6eb7af20e Mon Sep 17 00:00:00 2001 From: sla 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 --- make/jprt.properties | 1 + test/Makefile | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/make/jprt.properties b/make/jprt.properties index 2e4e0fb8a..f41a227d3 100644 --- a/make/jprt.properties +++ b/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/test/Makefile b/test/Makefile index 0fd156b29..9f96ba405 100644 --- a/test/Makefile +++ b/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 -- GitLab