< prev index next >

make/Main.gmk

Print this page

 690     MAKEFILE := test/BuildTestLib, \
 691     DEPS := exploded-image, \
 692 ))
 693 
 694 ifeq ($(BUILD_FAILURE_HANDLER), true)
 695   # Builds the failure handler jtreg extension
 696   $(eval $(call SetupTarget, build-test-failure-handler, \
 697       MAKEFILE := test/BuildFailureHandler, \
 698       TARGET := build, \
 699       DEPS := interim-langtools, \
 700   ))
 701 
 702   # Copies the failure handler jtreg extension into the test image
 703   $(eval $(call SetupTarget, test-image-failure-handler, \
 704       MAKEFILE := test/BuildFailureHandler, \
 705       TARGET := images, \
 706       DEPS := build-test-failure-handler, \
 707   ))
 708 endif
 709 

















 710 $(eval $(call SetupTarget, build-microbenchmark, \
 711     MAKEFILE := test/BuildMicrobenchmark, \
 712     DEPS := interim-langtools exploded-image, \
 713 ))
 714 
 715 ################################################################################
 716 # Run tests
 717 
 718 $(eval $(call SetupTarget, test, \
 719     MAKEFILE := RunTests, \
 720     ARGS := TEST="$(TEST)", \
 721     DEPS := jdk-image test-image, \
 722 ))
 723 
 724 $(eval $(call SetupTarget, exploded-test, \
 725     MAKEFILE := RunTests, \
 726     ARGS := TEST="$(TEST)" JDK_IMAGE_DIR=$(JDK_OUTPUTDIR), \
 727     DEPS := exploded-image test-image, \
 728 ))
 729 

1170 # This target builds the test image
1171 test-image: prepare-test-image test-image-jdk-jtreg-native \
1172     test-image-demos-jdk test-image-libtest-jtreg-native \
1173     test-image-lib-native
1174 
1175 ifneq ($(JVM_TEST_IMAGE_TARGETS), )
1176   # If JVM_TEST_IMAGE_TARGETS is externally defined, use it instead of the
1177   # standard hotspot set of tests.
1178   test-image: $(JVM_TEST_IMAGE_TARGETS)
1179 else
1180   test-image: test-image-hotspot-jtreg-native
1181   ifneq ($(GTEST_FRAMEWORK_SRC), )
1182     test-image: test-image-hotspot-gtest
1183   endif
1184 endif
1185 
1186 ifeq ($(BUILD_FAILURE_HANDLER), true)
1187   test-image: test-image-failure-handler
1188 endif
1189 




1190 ifneq ($(JMH_CORE_JAR), )
1191   test-image: build-microbenchmark
1192 endif
1193 
1194 ################################################################################
1195 
1196 # all-images builds all our deliverables as images.
1197 all-images: product-images test-image all-docs-images
1198 
1199 # all-bundles packages all our deliverables as tar.gz bundles.
1200 all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
1201 
1202 ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
1203     copy java libs static-libs launchers jmods \
1204     jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
1205     exploded-image-base exploded-image runnable-buildjdk \
1206     create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
1207     docs-javase docs-reference docs-javadoc mac-bundles product-images legacy-images \
1208     docs-image docs-javase-image docs-reference-image all-docs-images \
1209     docs-bundles all-docs-bundles test-image all-images \

 690     MAKEFILE := test/BuildTestLib, \
 691     DEPS := exploded-image, \
 692 ))
 693 
 694 ifeq ($(BUILD_FAILURE_HANDLER), true)
 695   # Builds the failure handler jtreg extension
 696   $(eval $(call SetupTarget, build-test-failure-handler, \
 697       MAKEFILE := test/BuildFailureHandler, \
 698       TARGET := build, \
 699       DEPS := interim-langtools, \
 700   ))
 701 
 702   # Copies the failure handler jtreg extension into the test image
 703   $(eval $(call SetupTarget, test-image-failure-handler, \
 704       MAKEFILE := test/BuildFailureHandler, \
 705       TARGET := images, \
 706       DEPS := build-test-failure-handler, \
 707   ))
 708 endif
 709 
 710 ifeq ($(BUILD_JTREG_MAIN_WRAPPER), true)
 711   # Builds the main wrapper jtreg extension
 712   $(eval $(call SetupTarget, build-test-main-wrapper, \
 713       MAKEFILE := test/BuildJtregMainWrapper, \
 714       TARGET := build, \
 715       DEPS := interim-langtools, \
 716   ))
 717 
 718   # Copies the failure handler jtreg extension into the test image
 719   $(eval $(call SetupTarget, test-image-main-wrapper, \
 720       MAKEFILE := test/BuildJtregMainWrapper, \
 721       TARGET := images, \
 722       DEPS := build-test-main-wrapper, \
 723   ))
 724 endif
 725 
 726 
 727 $(eval $(call SetupTarget, build-microbenchmark, \
 728     MAKEFILE := test/BuildMicrobenchmark, \
 729     DEPS := interim-langtools exploded-image, \
 730 ))
 731 
 732 ################################################################################
 733 # Run tests
 734 
 735 $(eval $(call SetupTarget, test, \
 736     MAKEFILE := RunTests, \
 737     ARGS := TEST="$(TEST)", \
 738     DEPS := jdk-image test-image, \
 739 ))
 740 
 741 $(eval $(call SetupTarget, exploded-test, \
 742     MAKEFILE := RunTests, \
 743     ARGS := TEST="$(TEST)" JDK_IMAGE_DIR=$(JDK_OUTPUTDIR), \
 744     DEPS := exploded-image test-image, \
 745 ))
 746 

1187 # This target builds the test image
1188 test-image: prepare-test-image test-image-jdk-jtreg-native \
1189     test-image-demos-jdk test-image-libtest-jtreg-native \
1190     test-image-lib-native
1191 
1192 ifneq ($(JVM_TEST_IMAGE_TARGETS), )
1193   # If JVM_TEST_IMAGE_TARGETS is externally defined, use it instead of the
1194   # standard hotspot set of tests.
1195   test-image: $(JVM_TEST_IMAGE_TARGETS)
1196 else
1197   test-image: test-image-hotspot-jtreg-native
1198   ifneq ($(GTEST_FRAMEWORK_SRC), )
1199     test-image: test-image-hotspot-gtest
1200   endif
1201 endif
1202 
1203 ifeq ($(BUILD_FAILURE_HANDLER), true)
1204   test-image: test-image-failure-handler
1205 endif
1206 
1207 ifeq ($(BUILD_JTREG_MAIN_WRAPPER), true)
1208   test-image: test-image-main-wrapper
1209 endif
1210 
1211 ifneq ($(JMH_CORE_JAR), )
1212   test-image: build-microbenchmark
1213 endif
1214 
1215 ################################################################################
1216 
1217 # all-images builds all our deliverables as images.
1218 all-images: product-images test-image all-docs-images
1219 
1220 # all-bundles packages all our deliverables as tar.gz bundles.
1221 all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
1222 
1223 ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
1224     copy java libs static-libs launchers jmods \
1225     jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
1226     exploded-image-base exploded-image runnable-buildjdk \
1227     create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
1228     docs-javase docs-reference docs-javadoc mac-bundles product-images legacy-images \
1229     docs-image docs-javase-image docs-reference-image all-docs-images \
1230     docs-bundles all-docs-bundles test-image all-images \
< prev index next >