test/Makefile
changeset 19520 527f461b65a3
parent 15577 0ed5f9a7f454
child 19522 9369c2c7a4d9
equal deleted inserted replaced
19519:ae956fe7b468 19520:527f461b65a3
    47 else \
    47 else \
    48   echo "WARNING: No testing done, directory does not exist: $1"; \
    48   echo "WARNING: No testing done, directory does not exist: $1"; \
    49 fi
    49 fi
    50 endef
    50 endef
    51 
    51 
    52 # Test target list for langtools repository
       
    53 LANGTOOLS_TEST_LIST = langtools_jtreg
       
    54 
       
    55 # Test target list for jdk repository
       
    56 JDK_ALL_TEST_LIST = \
       
    57 	jdk_beans1 \
       
    58 	jdk_io  \
       
    59 	jdk_lang  \
       
    60 	jdk_math  \
       
    61 	jdk_other  \
       
    62 	jdk_net  \
       
    63 	jdk_nio \
       
    64 	jdk_security1 \
       
    65 	jdk_text  \
       
    66 	jdk_util  \
       
    67 	jdk_time \
       
    68 	jdk_awt \
       
    69 	jdk_beans2 jdk_beans3  \
       
    70 	jdk_management \
       
    71 	jdk_jmx \
       
    72 	jdk_security2 jdk_security3  \
       
    73 	jdk_rmi \
       
    74 	jdk_sound \
       
    75 	jdk_swing \
       
    76 	jdk_tools \
       
    77 	jdk_jdi \
       
    78 	jdk_jfr
       
    79 
       
    80 # Theses are meta test targets in jdk
       
    81 JDK_META_TEST_LIST = jdk_all jdk_default jdk_core
       
    82 
       
    83 # These are the current jck test targets in the jdk repository
       
    84 JDK_JCK7_LIST = jck7devtools jck7compiler jck7runtime
       
    85 
       
    86 # Default test target (core)
    52 # Default test target (core)
    87 default: jdk_core $(LANGTOOLS_TEST_LIST)
    53 default: jdk_core langtools_jtreg
    88 
    54 
    89 # All testing
    55 # All testing
    90 all: $(JDK_ALL_TEST_LIST) $(LANGTOOLS_TEST_LIST)
    56 all: jdk_all langtools_all
    91 
    57 
    92 # Test targets
    58 # Test targets
    93 $(LANGTOOLS_TEST_LIST):
    59 langtools_% :
    94 	@$(NO_STOPPING)$(call SUBDIR_TEST, $(LANGTOOLS_DIR), $(subst langtools_,,$@))
    60 	@$(NO_STOPPING)$(call SUBDIR_TEST, $(LANGTOOLS_DIR), JT_JAVA=$(PRODUCT_HOME) JTREG_OUTPUT_DIR=$(ALT_OUTPUTDIR)/testoutput/langtools/jtreg JTREG_HOME=$(JT_HOME) TEST="$(subst langtools_,,$@)" $(subst langtools_,,$@))
    95 
    61 
    96 $(JDK_ALL_TEST_LIST) $(JDK_META_TEST_LIST) $(JDK_JCK7_LIST):
    62 jdk_% :
    97 	@$(NO_STOPPING)$(call SUBDIR_TEST, $(JDK_DIR), $@)
    63 	@$(NO_STOPPING)$(call SUBDIR_TEST, $(JDK_DIR), TEST="$@" $@)
    98 
       
    99 clean:
       
   100 
    64 
   101 ################################################################
    65 ################################################################
   102 
    66 
   103 # Phony targets (e.g. these are not filenames)
    67 # Phony targets (e.g. these are not filenames)
   104 .PHONY: all clean \
    68 .PHONY: all clean
   105         $(JDK_ALL_TEST_LIST) $(JDK_META_TEST_LIST) $(JDK_JCK7_LIST) \
       
   106         $(LANGTOOLS_TEST_LIST)
       
   107 
    69 
   108 ################################################################
    70 ################################################################
   109