< prev index next >

make/Main.gmk

Print this page
rev 2039 : [mq]: 8148244


 375 prepare-test-image:
 376         $(MKDIR) -p $(TEST_IMAGE_DIR)
 377         $(ECHO) > $(TEST_IMAGE_DIR)/Readme.txt 'JDK test image'
 378 
 379 build-test-hotspot-jtreg-native:
 380         +($(CD) $(HOTSPOT_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
 381             build-test-hotspot-jtreg-native)
 382 
 383 test-image-hotspot-jtreg-native:
 384         +($(CD) $(HOTSPOT_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
 385             test-image-hotspot-jtreg-native)
 386 
 387 build-test-jdk-jtreg-native:
 388         +($(CD) $(JDK_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
 389             build-test-jdk-jtreg-native)
 390 
 391 test-image-jdk-jtreg-native:
 392         +($(CD) $(JDK_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
 393             test-image-jdk-jtreg-native)
 394 



 395 build-test-lib:
 396         +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f BuildTestLib.gmk)
 397 
 398 ifeq ($(BUILD_FAILURE_HANDLER), true)
 399   # Builds the failure handler jtreg extension
 400   build-test-failure-handler:
 401         +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
 402             -f BuildFailureHandler.gmk build)
 403 
 404   # Runs the tests for the failure handler jtreg extension
 405   test-failure-handler:
 406         +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
 407             -f BuildFailureHandler.gmk test)
 408 
 409   # Copies the failure handler jtreg extension into the test image
 410   test-image-failure-handler:
 411         +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
 412              -f BuildFailureHandler.gmk images)
 413 endif
 414 
 415 ALL_TARGETS += prepare-test-image build-test-hotspot-jtreg-native \
 416     test-image-hotspot-jtreg-native build-test-jdk-jtreg-native \
 417     test-image-jdk-jtreg-native build-test-lib build-test-failure-handler \
 418     test-failure-handler test-image-failure-handler
 419 
 420 ################################################################################
 421 # Run tests
 422 
 423 # Run tests specified by $(TEST), or the default test set.
 424 test:
 425         $(call RunTests, $(TEST))
 426 
 427 test-hotspot-jtreg:
 428         $(call RunTests, "hotspot_all")
 429 
 430 test-hotspot-jtreg-native:
 431         $(call RunTests, "hotspot_native_sanity")
 432 
 433 test-hotspot-internal:
 434         $(call RunTests, "hotspot_internal")
 435 
 436 test-jdk-jtreg-native:
 437         $(call RunTests, "jdk_native_sanity")
 438 


 609   create-buildjdk-compile-modules: create-buildjdk-copy create-buildjdk-compile-hotspot
 610 
 611   test-make: clean-test-make
 612 
 613   build-test-lib: java
 614 
 615   build-test-failure-handler: interim-langtools
 616 
 617   test-failure-handler: build-test-failure-handler
 618 
 619   test-image-failure-handler: build-test-failure-handler
 620 
 621   build-test-hotspot-jtreg-native: buildtools-jdk
 622 
 623   build-test-jdk-jtreg-native: buildtools-jdk
 624 
 625   test-image-hotspot-jtreg-native: build-test-hotspot-jtreg-native
 626 
 627   test-image-jdk-jtreg-native: build-test-jdk-jtreg-native
 628 


 629   test-hotspot-internal: exploded-image
 630 
 631   test-hotspot-jtreg: jimages test-image
 632 
 633   install: product-images
 634 
 635   generate-summary: jmods
 636 
 637 endif
 638 
 639 ################################################################################
 640 # Virtual targets without recipes
 641 
 642 buildtools: buildtools-langtools interim-langtools interim-rmic \
 643     buildtools-jdk
 644 
 645 gensrc: $(GENSRC_TARGETS)
 646 
 647 gendata: $(GENDATA_TARGETS)
 648 


 690 
 691 # This target builds the product images, e.g. the JRE and JDK image
 692 # (and possibly other, more specific versions)
 693 product-images: jimages demos samples zip-security exploded-image
 694 
 695 # When cross compiling and building a partial BUILDJDK for the build host,
 696 # the summary generation cannot be run.
 697 ifneq ($(CREATE_BUILDJDK), true)
 698   product-images: generate-summary
 699 endif
 700 
 701 ifeq ($(OPENJDK_TARGET_OS), macosx)
 702   product-images: mac-bundles
 703 endif
 704 
 705 # This target builds the documentation image
 706 docs-image: zip-docs
 707 
 708 # This target builds the test image
 709 test-image: prepare-test-image test-image-hotspot-jtreg-native \
 710     test-image-jdk-jtreg-native test-image-failure-handler
 711 
 712 # all-images is the top-most target, it builds all our deliverables ("images").
 713 all-images: product-images test-image docs-image
 714 
 715 ALL_TARGETS += buildtools gensrc gendata copy java rmic libs launchers jmods \
 716     jdk.jdwp.agent-gensrc $(ALL_MODULES) demos samples exploded-image \
 717     create-buildjdk mac-bundles product-images docs-image test-image all-images
 718 
 719 ################################################################################
 720 
 721 # Traditional targets typically run by users.
 722 # These can be considered aliases for the targets now named by a more
 723 # "modern" naming scheme.
 724 default: $(DEFAULT_MAKE_TARGET)
 725 jdk: exploded-image
 726 images: product-images
 727 docs: docs-image
 728 all: all-images
 729 
 730 ALL_TARGETS += default jdk images docs all zip-docs




 375 prepare-test-image:
 376         $(MKDIR) -p $(TEST_IMAGE_DIR)
 377         $(ECHO) > $(TEST_IMAGE_DIR)/Readme.txt 'JDK test image'
 378 
 379 build-test-hotspot-jtreg-native:
 380         +($(CD) $(HOTSPOT_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
 381             build-test-hotspot-jtreg-native)
 382 
 383 test-image-hotspot-jtreg-native:
 384         +($(CD) $(HOTSPOT_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
 385             test-image-hotspot-jtreg-native)
 386 
 387 build-test-jdk-jtreg-native:
 388         +($(CD) $(JDK_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
 389             build-test-jdk-jtreg-native)
 390 
 391 test-image-jdk-jtreg-native:
 392         +($(CD) $(JDK_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
 393             test-image-jdk-jtreg-native)
 394 
 395 test-image-hotspot-gtest:
 396         +($(CD) $(HOTSPOT_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f GtestImage.gmk)
 397 
 398 build-test-lib:
 399         +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f BuildTestLib.gmk)
 400 
 401 ifeq ($(BUILD_FAILURE_HANDLER), true)
 402   # Builds the failure handler jtreg extension
 403   build-test-failure-handler:
 404         +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
 405             -f BuildFailureHandler.gmk build)
 406 
 407   # Runs the tests for the failure handler jtreg extension
 408   test-failure-handler:
 409         +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
 410             -f BuildFailureHandler.gmk test)
 411 
 412   # Copies the failure handler jtreg extension into the test image
 413   test-image-failure-handler:
 414         +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
 415              -f BuildFailureHandler.gmk images)
 416 endif
 417 
 418 ALL_TARGETS += prepare-test-image build-test-hotspot-jtreg-native \
 419     test-image-hotspot-jtreg-native build-test-jdk-jtreg-native \
 420     test-image-jdk-jtreg-native build-test-lib build-test-failure-handler \
 421     test-failure-handler test-image-failure-handler test-image-hotspot-gtest
 422 
 423 ################################################################################
 424 # Run tests
 425 
 426 # Run tests specified by $(TEST), or the default test set.
 427 test:
 428         $(call RunTests, $(TEST))
 429 
 430 test-hotspot-jtreg:
 431         $(call RunTests, "hotspot_all")
 432 
 433 test-hotspot-jtreg-native:
 434         $(call RunTests, "hotspot_native_sanity")
 435 
 436 test-hotspot-internal:
 437         $(call RunTests, "hotspot_internal")
 438 
 439 test-jdk-jtreg-native:
 440         $(call RunTests, "jdk_native_sanity")
 441 


 612   create-buildjdk-compile-modules: create-buildjdk-copy create-buildjdk-compile-hotspot
 613 
 614   test-make: clean-test-make
 615 
 616   build-test-lib: java
 617 
 618   build-test-failure-handler: interim-langtools
 619 
 620   test-failure-handler: build-test-failure-handler
 621 
 622   test-image-failure-handler: build-test-failure-handler
 623 
 624   build-test-hotspot-jtreg-native: buildtools-jdk
 625 
 626   build-test-jdk-jtreg-native: buildtools-jdk
 627 
 628   test-image-hotspot-jtreg-native: build-test-hotspot-jtreg-native
 629 
 630   test-image-jdk-jtreg-native: build-test-jdk-jtreg-native
 631 
 632   test-image-hotspot-gtest: hotspot
 633 
 634   test-hotspot-internal: exploded-image
 635 
 636   test-hotspot-jtreg: jimages test-image
 637 
 638   install: product-images
 639 
 640   generate-summary: jmods
 641 
 642 endif
 643 
 644 ################################################################################
 645 # Virtual targets without recipes
 646 
 647 buildtools: buildtools-langtools interim-langtools interim-rmic \
 648     buildtools-jdk
 649 
 650 gensrc: $(GENSRC_TARGETS)
 651 
 652 gendata: $(GENDATA_TARGETS)
 653 


 695 
 696 # This target builds the product images, e.g. the JRE and JDK image
 697 # (and possibly other, more specific versions)
 698 product-images: jimages demos samples zip-security exploded-image
 699 
 700 # When cross compiling and building a partial BUILDJDK for the build host,
 701 # the summary generation cannot be run.
 702 ifneq ($(CREATE_BUILDJDK), true)
 703   product-images: generate-summary
 704 endif
 705 
 706 ifeq ($(OPENJDK_TARGET_OS), macosx)
 707   product-images: mac-bundles
 708 endif
 709 
 710 # This target builds the documentation image
 711 docs-image: zip-docs
 712 
 713 # This target builds the test image
 714 test-image: prepare-test-image test-image-hotspot-jtreg-native \
 715     test-image-jdk-jtreg-native test-image-failure-handler test-image-hotspot-gtest
 716 
 717 # all-images is the top-most target, it builds all our deliverables ("images").
 718 all-images: product-images test-image docs-image
 719 
 720 ALL_TARGETS += buildtools gensrc gendata copy java rmic libs launchers jmods \
 721     jdk.jdwp.agent-gensrc $(ALL_MODULES) demos samples exploded-image \
 722     create-buildjdk mac-bundles product-images docs-image test-image all-images
 723 
 724 ################################################################################
 725 
 726 # Traditional targets typically run by users.
 727 # These can be considered aliases for the targets now named by a more
 728 # "modern" naming scheme.
 729 default: $(DEFAULT_MAKE_TARGET)
 730 jdk: exploded-image
 731 images: product-images
 732 docs: docs-image
 733 all: all-images
 734 
 735 ALL_TARGETS += default jdk images docs all zip-docs


< prev index next >