jdk/test/Makefile
changeset 2930 58a6440b92dc
parent 2400 0d7007d99b0f
child 2945 43a90b14c7ed
--- 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.