diff -r 80b0b6c2d527 -r 58a6440b92dc jdk/test/Makefile --- a/jdk/test/Makefile Tue May 26 16:03:51 2009 +0200 +++ b/jdk/test/Makefile Tue May 26 17:47:57 2009 -0700 @@ -228,6 +228,25 @@ ################################################################ +# perftest to collect statistics + +# Expect JPRT to set JPRT_PACKTEST_HOME. +PERFTEST_HOME = ${TEST_ROOT}/perf +ifdef JPRT_PERFTEST_HOME + PERFTEST_HOME = $(JPRT_PERFTEST_HOME) +endif + +perftest: ( $(PERFTEST_HOME)/perftest \ + -t $(shell $(GETMIXEDPATH) "$(PRODUCT_HOME)") \ + -w $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)") \ + -h $(PERFTEST_HOME) \ + ) ; $(BUNDLE_UP_AND_EXIT) + + +PHONY_LIST += perftest + +################################################################ + # vmsqe tests # Expect JPRT to set JPRT_VMSQE_HOME.