make-rules/justmake.mk
changeset 3558 2cec274f17fc
parent 2164 b580bc10e31a
child 3817 30b42c38bbc4
equal deleted inserted replaced
3557:39d5a85cfd14 3558:2cec274f17fc
    65 	(cd $(@D) ; $(ENV) $(COMPONENT_INSTALL_ENV) $(GMAKE) \
    65 	(cd $(@D) ; $(ENV) $(COMPONENT_INSTALL_ENV) $(GMAKE) \
    66 			$(COMPONENT_INSTALL_ARGS) $(COMPONENT_INSTALL_TARGETS))
    66 			$(COMPONENT_INSTALL_ARGS) $(COMPONENT_INSTALL_TARGETS))
    67 	$(COMPONENT_POST_INSTALL_ACTION)
    67 	$(COMPONENT_POST_INSTALL_ACTION)
    68 	$(TOUCH) [email protected]
    68 	$(TOUCH) [email protected]
    69 
    69 
       
    70 # test the built source
       
    71 $(BUILD_DIR)/%/.tested-and-compared:    $(BUILD_DIR)/%/.built
       
    72 	$(COMPONENT_PRE_TEST_ACTION)
       
    73 	-(cd $(COMPONENT_TEST_DIR) ; \
       
    74 		$(COMPONENT_TEST_ENV_CMD) $(COMPONENT_TEST_ENV) \
       
    75 		$(COMPONENT_TEST_CMD) \
       
    76 		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS)) \
       
    77 		&> $(COMPONENT_TEST_OUTPUT)
       
    78 	$(COMPONENT_POST_TEST_ACTION)
       
    79 	$(COMPONENT_TEST_CREATE_TRANSFORMS)
       
    80 	$(COMPONENT_TEST_PERFORM_TRANSFORM)
       
    81 	$(COMPONENT_TEST_COMPARE)
       
    82 	$(COMPONENT_TEST_CLEANUP)
       
    83 	$(TOUCH) [email protected]
    70 
    84 
    71 # test the built source
    85 $(BUILD_DIR)/%/.tested:    $(BUILD_DIR)/%/.built
    72 $(BUILD_DIR)/%/.tested: $(BUILD_DIR)/%/.built
       
    73 	$(COMPONENT_PRE_TEST_ACTION)
    86 	$(COMPONENT_PRE_TEST_ACTION)
    74 	(cd $(COMPONENT_TEST_DIR) ; $(COMPONENT_TEST_ENV_CMD) \
    87 	(cd $(COMPONENT_TEST_DIR) ; \
    75 		$(COMPONENT_TEST_ENV) \
    88 		$(COMPONENT_TEST_ENV_CMD) $(COMPONENT_TEST_ENV) \
    76 		$(COMPONENT_TEST_CMD) \
    89 		$(COMPONENT_TEST_CMD) \
    77 			$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
    90 		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
    78 	$(COMPONENT_POST_TEST_ACTION)
    91 	$(COMPONENT_POST_TEST_ACTION)
       
    92 	$(COMPONENT_TEST_CLEANUP)
    79 	$(TOUCH) [email protected]
    93 	$(TOUCH) [email protected]
    80 
    94 
    81 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    95 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    82 parfait: build
    96 parfait: build
    83 else
    97 else