comparison test/Makefile @ 781:44ccd7a9065c

6839151: Add a JPRT default test of -Xshare:dump when new hotspot is built Reviewed-by: never, kvn
author ohair
date Fri, 08 May 2009 15:16:38 -0700
parents 0fbdb4381b99
children c18cbe5936b8
comparison
equal deleted inserted replaced
3:06fdfaea93b5 4:d9d142d5ec3f
170 170
171 PHONY_LIST += jtreg_tests 171 PHONY_LIST += jtreg_tests
172 172
173 ################################################################ 173 ################################################################
174 174
175 # clienttest (make sure various basic java client options work)
176
177 clienttest: prep $(PRODUCT_HOME)
178 $(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -version
179 $(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -help
180 $(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -X
181 $(RM) $(PRODUCT_HOME)/jre/lib/*/client/classes.jsa
182 $(RM) $(PRODUCT_HOME)/jre/lib/*/client/classes_g.jsa
183 $(RM) $(PRODUCT_HOME)/jre/bin/client/classes.jsa
184 $(RM) $(PRODUCT_HOME)/jre/bin/client/classes_g.jsa
185 $(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -Xshare:dump
186
187 PHONY_LIST += clienttest
188
189 ################################################################
190
191 # servertest (make sure various basic java server options work)
192
193 servertest: prep $(PRODUCT_HOME)
194 $(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -version
195 $(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -help
196 $(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -X
197
198 PHONY_LIST += servertest
199
200 ################################################################
201
175 # packtest 202 # packtest
176 203
177 # Expect JPRT to set JPRT_PACKTEST_HOME. 204 # Expect JPRT to set JPRT_PACKTEST_HOME.
178 PACKTEST_HOME = /net/jprt-web.sfbay.sun.com/jprt/allproducts/packtest 205 PACKTEST_HOME = /net/jprt-web.sfbay.sun.com/jprt/allproducts/packtest
179 ifdef JPRT_PACKTEST_HOME 206 ifdef JPRT_PACKTEST_HOME