555 ALL_TARGETS += prepare-test-image build-test-hotspot-jtreg-native \
556 test-image-hotspot-jtreg-native build-test-jdk-jtreg-native \
557 test-image-jdk-jtreg-native build-test-lib build-test-failure-handler \
558 test-failure-handler test-image-failure-handler test-image-hotspot-gtest \
559 test-image-hotspot-jtreg-graal build-test-hotspot-jtreg-graal \
560 run-test exploded-run-test
561
562 ################################################################################
563 # Run tests
564
565 # Run tests specified by $(TEST), or the default test set.
566 test:
567 $(call RunTests, $(TEST), $(JDK_IMAGE_DIR))
568
569 test-hotspot-jtreg:
570 $(call RunTests, "hotspot_all", $(JDK_IMAGE_DIR))
571
572 test-hotspot-jtreg-native:
573 $(call RunTests, "hotspot_native_sanity", $(JDK_IMAGE_DIR))
574
575 test-hotspot-internal:
576 $(call RunTests, "hotspot_internal", $(JDK_OUTPUTDIR))
577
578 test-hotspot-gtest:
579 $(call RunTests, "hotspot_gtest", $(JDK_OUTPUTDIR))
580
581 test-jdk-jtreg-native:
582 $(call RunTests, "jdk_native_sanity", $(JDK_IMAGE_DIR))
583
584 test-make:
585 ($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk $(TEST_TARGET))
586
587 test-compile-commands:
588 ($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk test-compile-commands)
589
590 ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
591 test-hotspot-internal test-hotspot-gtest test-jdk-jtreg-native test-make \
592 test-compile-commands
593
594 ################################################################################
595 # Bundles
596
597 product-bundles:
598 +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk product-bundles)
599
600 test-bundles:
601 +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk test-bundles)
602
603 docs-bundles:
604 +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk docs-bundles)
605
606 ALL_TARGETS += product-bundles test-bundles docs-bundles
607
608 ################################################################################
609 # Install targets
610
611 install:
900
901 test-failure-handler: build-test-failure-handler
902
903 test-image-failure-handler: build-test-failure-handler
904
905 build-test-hotspot-jtreg-native: buildtools-jdk \
906 hotspot-$(JVM_VARIANT_MAIN)-libs
907
908 build-test-jdk-jtreg-native: buildtools-jdk java.base-libs
909
910 build-test-hotspot-jtreg-graal: exploded-image-optimize
911
912 test-image-hotspot-jtreg-native: build-test-hotspot-jtreg-native
913
914 test-image-jdk-jtreg-native: build-test-jdk-jtreg-native
915
916 test-image-hotspot-jtreg-graal: build-test-hotspot-jtreg-graal
917
918 test-image-hotspot-gtest: hotspot
919
920 test-hotspot-internal: exploded-image
921
922 test-hotspot-jtreg: jdk-image test-image
923
924 test-hotspot-gtest: exploded-image test-image-hotspot-gtest
925
926 install: product-images
927
928 product-bundles: product-images
929
930 test-bundles: test-image
931
932 docs-bundles: docs-image
933
934 generate-summary: jmods buildtools-modules
935
936 update-x11wrappers: java.base-copy buildtools-jdk
937
938 endif
939
940 ################################################################################
941 # Virtual targets without recipes
|
555 ALL_TARGETS += prepare-test-image build-test-hotspot-jtreg-native \
556 test-image-hotspot-jtreg-native build-test-jdk-jtreg-native \
557 test-image-jdk-jtreg-native build-test-lib build-test-failure-handler \
558 test-failure-handler test-image-failure-handler test-image-hotspot-gtest \
559 test-image-hotspot-jtreg-graal build-test-hotspot-jtreg-graal \
560 run-test exploded-run-test
561
562 ################################################################################
563 # Run tests
564
565 # Run tests specified by $(TEST), or the default test set.
566 test:
567 $(call RunTests, $(TEST), $(JDK_IMAGE_DIR))
568
569 test-hotspot-jtreg:
570 $(call RunTests, "hotspot_all", $(JDK_IMAGE_DIR))
571
572 test-hotspot-jtreg-native:
573 $(call RunTests, "hotspot_native_sanity", $(JDK_IMAGE_DIR))
574
575 test-hotspot-gtest:
576 $(call RunTests, "hotspot_gtest", $(JDK_OUTPUTDIR))
577
578 test-jdk-jtreg-native:
579 $(call RunTests, "jdk_native_sanity", $(JDK_IMAGE_DIR))
580
581 test-make:
582 ($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk $(TEST_TARGET))
583
584 test-compile-commands:
585 ($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk test-compile-commands)
586
587 ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
588 test-hotspot-gtest test-jdk-jtreg-native test-make \
589 test-compile-commands
590
591 ################################################################################
592 # Bundles
593
594 product-bundles:
595 +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk product-bundles)
596
597 test-bundles:
598 +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk test-bundles)
599
600 docs-bundles:
601 +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk docs-bundles)
602
603 ALL_TARGETS += product-bundles test-bundles docs-bundles
604
605 ################################################################################
606 # Install targets
607
608 install:
897
898 test-failure-handler: build-test-failure-handler
899
900 test-image-failure-handler: build-test-failure-handler
901
902 build-test-hotspot-jtreg-native: buildtools-jdk \
903 hotspot-$(JVM_VARIANT_MAIN)-libs
904
905 build-test-jdk-jtreg-native: buildtools-jdk java.base-libs
906
907 build-test-hotspot-jtreg-graal: exploded-image-optimize
908
909 test-image-hotspot-jtreg-native: build-test-hotspot-jtreg-native
910
911 test-image-jdk-jtreg-native: build-test-jdk-jtreg-native
912
913 test-image-hotspot-jtreg-graal: build-test-hotspot-jtreg-graal
914
915 test-image-hotspot-gtest: hotspot
916
917 test-hotspot-jtreg: jdk-image test-image
918
919 test-hotspot-gtest: exploded-image test-image-hotspot-gtest
920
921 install: product-images
922
923 product-bundles: product-images
924
925 test-bundles: test-image
926
927 docs-bundles: docs-image
928
929 generate-summary: jmods buildtools-modules
930
931 update-x11wrappers: java.base-copy buildtools-jdk
932
933 endif
934
935 ################################################################################
936 # Virtual targets without recipes
|