make-rules/makemaker.mk
changeset 3864 77a09e73626b
parent 3817 30b42c38bbc4
child 4059 be52d85dff86
equal deleted inserted replaced
3859:c3d5649bad5c 3864:77a09e73626b
    98 	$(TOUCH) [email protected]
    98 	$(TOUCH) [email protected]
    99 
    99 
   100 
   100 
   101 # Define bit specific and Perl version specific filenames.
   101 # Define bit specific and Perl version specific filenames.
   102 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(PERL_VERSION)-$(BITS).master
   102 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(PERL_VERSION)-$(BITS).master
   103 COMPONENT_TEST_OUTPUT = $(COMPONENT_TEST_RESULTS_DIR)/test-$(PERL_VERSION)-$(BITS)-results
   103 COMPONENT_TEST_OUTPUT = $(COMPONENT_TEST_BUILD_DIR)/test-$(PERL_VERSION)-$(BITS)-results
   104 COMPONENT_TEST_DIFFS =  $(COMPONENT_TEST_RESULTS_DIR)/test-$(PERL_VERSION)-$(BITS)-diffs
   104 COMPONENT_TEST_DIFFS =  $(COMPONENT_TEST_BUILD_DIR)/test-$(PERL_VERSION)-$(BITS)-diffs
   105 COMPONENT_TEST_SNAPSHOT = $(COMPONENT_TEST_RESULTS_DIR)/results-$(PERL_VERSION)-$(BITS).snapshot
   105 COMPONENT_TEST_SNAPSHOT = $(COMPONENT_TEST_BUILD_DIR)/results-$(PERL_VERSION)-$(BITS).snapshot
   106 COMPONENT_TEST_TRANSFORM_CMD = $(COMPONENT_TEST_RESULTS_DIR)/transform-$(PERL_VERSION)-$(BITS)-results
   106 COMPONENT_TEST_TRANSFORM_CMD = $(COMPONENT_TEST_BUILD_DIR)/transform-$(PERL_VERSION)-$(BITS)-results
   107 
   107 
   108 COMPONENT_TEST_TARGETS =	check
   108 COMPONENT_TEST_TARGETS =	check
   109 COMPONENT_TEST_ENV +=	$(COMMON_PERL_ENV)
   109 COMPONENT_TEST_ENV +=	$(COMMON_PERL_ENV)
   110 
   110 
   111 # determine the type of tests we want to run.
   111 # determine the type of tests we want to run.
   119 TEST_64 =	$(BUILD_DIR)/$(MACH64)-5.16/.tested-and-compared
   119 TEST_64 =	$(BUILD_DIR)/$(MACH64)-5.16/.tested-and-compared
   120 endif
   120 endif
   121 
   121 
   122 # test the built source
   122 # test the built source
   123 $(BUILD_DIR)/%/.tested-and-compared:    $(BUILD_DIR)/%/.built
   123 $(BUILD_DIR)/%/.tested-and-compared:    $(BUILD_DIR)/%/.built
       
   124 	$(RM) -rf $(COMPONENT_TEST_BUILD_DIR)
       
   125 	$(MKDIR) $(COMPONENT_TEST_BUILD_DIR)
   124 	$(COMPONENT_PRE_TEST_ACTION)
   126 	$(COMPONENT_PRE_TEST_ACTION)
   125 	-(cd $(COMPONENT_TEST_DIR) ; \
   127 	-(cd $(COMPONENT_TEST_DIR) ; \
   126 		$(COMPONENT_TEST_ENV_CMD) $(COMPONENT_TEST_ENV) \
   128 		$(COMPONENT_TEST_ENV_CMD) $(COMPONENT_TEST_ENV) \
   127 		$(COMPONENT_TEST_CMD) \
   129 		$(COMPONENT_TEST_CMD) \
   128 		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS)) \
   130 		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS)) \