1.1 --- a/test/Makefile Fri Feb 17 15:11:32 2012 -0800 1.2 +++ b/test/Makefile Thu Feb 23 14:58:35 2012 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 # 1.5 -# Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 +# Copyright (c) 1995, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 # 1.9 # This code is free software; you can redistribute it and/or modify it 1.10 @@ -228,6 +228,24 @@ 1.11 1.12 ################################################################ 1.13 1.14 +# wbapitest (make sure the whitebox testing api classes work 1.15 + 1.16 +wbapitest: prep $(JT_HOME) $(PRODUCT_HOME) $(JTREG) 1.17 + $(JTREG) -a -v:fail,error \ 1.18 + $(JTREG_KEY_OPTION) \ 1.19 + $(EXTRA_JTREG_OPTIONS) \ 1.20 + -r:$(ABS_TEST_OUTPUT_DIR)/JTreport \ 1.21 + -w:$(ABS_TEST_OUTPUT_DIR)/JTwork \ 1.22 + -jdk:$(PRODUCT_HOME) \ 1.23 + $(JAVA_OPTIONS:%=-vmoption:%) \ 1.24 + $(TEST_ROOT)/sanity \ 1.25 + || $(BUNDLE_UP_FAILED) 1.26 + $(BUNDLE_UP) 1.27 + 1.28 +PHONY_LIST += wbapitest 1.29 + 1.30 +################################################################ 1.31 + 1.32 # packtest 1.33 1.34 # Expect JPRT to set JPRT_PACKTEST_HOME.