test/Makefile

changeset 3619
2d503de963b3
parent 3266
6fd81579526f
child 3664
0e9e3cecdc81
equal deleted inserted replaced
3585:4ab89de75552 3619:2d503de963b3
1 # 1 #
2 # Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # 4 #
5 # This code is free software; you can redistribute it and/or modify it 5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as 6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
226 226
227 PHONY_LIST += internalvmtests 227 PHONY_LIST += internalvmtests
228 228
229 ################################################################ 229 ################################################################
230 230
231 # wbapitest (make sure the whitebox testing api classes work
232
233 wbapitest: prep $(JT_HOME) $(PRODUCT_HOME) $(JTREG)
234 $(JTREG) -a -v:fail,error \
235 $(JTREG_KEY_OPTION) \
236 $(EXTRA_JTREG_OPTIONS) \
237 -r:$(ABS_TEST_OUTPUT_DIR)/JTreport \
238 -w:$(ABS_TEST_OUTPUT_DIR)/JTwork \
239 -jdk:$(PRODUCT_HOME) \
240 $(JAVA_OPTIONS:%=-vmoption:%) \
241 $(TEST_ROOT)/sanity \
242 || $(BUNDLE_UP_FAILED)
243 $(BUNDLE_UP)
244
245 PHONY_LIST += wbapitest
246
247 ################################################################
248
231 # packtest 249 # packtest
232 250
233 # Expect JPRT to set JPRT_PACKTEST_HOME. 251 # Expect JPRT to set JPRT_PACKTEST_HOME.
234 PACKTEST_HOME = /net/jprt-web.sfbay.sun.com/jprt/allproducts/packtest 252 PACKTEST_HOME = /net/jprt-web.sfbay.sun.com/jprt/allproducts/packtest
235 ifdef JPRT_PACKTEST_HOME 253 ifdef JPRT_PACKTEST_HOME

mercurial