< prev index next >

test/Makefile

Print this page




  70 
  71 jdk_% core_%s svc_%:
  72         @$(NO_STOPPING)$(call SUBDIR_TEST, $(JDK_DIR), CONCURRENCY=$(JDK_TEST_JOBS) TEST="$@" $@)
  73 
  74 jaxp_%:
  75         @$(NO_STOPPING)$(call SUBDIR_TEST, $(JAXP_DIR), CONCURRENCY=$(JDK_TEST_JOBS) TEST="$@" $@)
  76 
  77 ifeq ($(TEST_JOBS), 0)
  78   HOTSPOT_TEST_JOBS=1
  79 else
  80   HOTSPOT_TEST_JOBS=$(TEST_JOBS)
  81 endif
  82 hotspot_%:
  83         @$(NO_STOPPING)$(call SUBDIR_TEST, $(HOTSPOT_DIR), CONCURRENCY=$(HOTSPOT_TEST_JOBS) TEST="$@" $@)
  84 
  85 #
  86 # jtreg_tests
  87 #
  88 # Invocation:
  89 #
  90 # make jtreg_tests TESTDIRS=<test-dirs>
  91 #
  92 # where <test-dirs> is something like '../<component>/test/runtime',
  93 # <component> in turn being one of the top level directories (for
  94 # example 'hotspot').
  95 #
  96 # The below will strip the path prefix and delegate to the
  97 # corresponding ../<component>/test/Makefile.
  98 
  99 ifneq ($(TESTDIRS),)
 100 # Extract the component from ../<component>/...
 101 COMPONENT=$(word 2,$(subst /, ,$(TESTDIRS)))
 102 
 103 # Strip off the ../<component>/test prefix and pass the rest as TESTDIRS
 104 # to the delegate Makefile
 105 TESTDIRS_TESTS=$(patsubst ../$(COMPONENT)/test/%,%,$(TESTDIRS))
 106 endif
 107 
 108 jtreg_tests:
 109         @$(NO_STOPPING)$(call SUBDIR_TEST, $(TOPDIR)/$(COMPONENT), TESTDIRS=$(TESTDIRS_TESTS) $@)
 110 


  70 
  71 jdk_% core_%s svc_%:
  72         @$(NO_STOPPING)$(call SUBDIR_TEST, $(JDK_DIR), CONCURRENCY=$(JDK_TEST_JOBS) TEST="$@" $@)
  73 
  74 jaxp_%:
  75         @$(NO_STOPPING)$(call SUBDIR_TEST, $(JAXP_DIR), CONCURRENCY=$(JDK_TEST_JOBS) TEST="$@" $@)
  76 
  77 ifeq ($(TEST_JOBS), 0)
  78   HOTSPOT_TEST_JOBS=1
  79 else
  80   HOTSPOT_TEST_JOBS=$(TEST_JOBS)
  81 endif
  82 hotspot_%:
  83         @$(NO_STOPPING)$(call SUBDIR_TEST, $(HOTSPOT_DIR), CONCURRENCY=$(HOTSPOT_TEST_JOBS) TEST="$@" $@)
  84 
  85 #
  86 # jtreg_tests
  87 #
  88 # Invocation:
  89 #
  90 # make jtreg_tests TESTDIRS=<test-dirs> TEST_SELECTION=<path to test or jtreg group> TEST_OUTPUT_DIR=<path>
  91 #
  92 # where <test-dirs> is something like '../<component>/test/runtime',
  93 # <component> in turn being one of the top level directories (for
  94 # example 'hotspot').
  95 #
  96 # The below will strip the path prefix and delegate to the
  97 # corresponding ../<component>/test/Makefile.
  98 
  99 ifneq ($(TESTDIRS),)
 100 # Extract the component from ../<component>/...
 101 COMPONENT=$(word 2,$(subst /, ,$(TESTDIRS)))
 102 
 103 # Strip off the ../<component>/test prefix and pass the rest as TESTDIRS
 104 # to the delegate Makefile
 105 TESTDIRS_TESTS=$(patsubst ../$(COMPONENT)/test/%,%,$(TESTDIRS))
 106 endif
 107 
 108 jtreg_tests:
 109         @$(NO_STOPPING)$(call SUBDIR_TEST, $(TOPDIR)/$(COMPONENT), TESTDIRS=$(TESTDIRS_TESTS) $@)
 110 
< prev index next >