components/mpc/Makefile
changeset 2164 b580bc10e31a
parent 1948 2d1537e7942d
child 2225 f064d3d3190d
--- a/components/mpc/Makefile	Tue Oct 21 02:05:30 2014 -0700
+++ b/components/mpc/Makefile	Tue Oct 21 12:20:30 2014 -0700
@@ -52,6 +52,8 @@
 
 include ../../make-rules/shared-targets.mk
 
+COMPONENT_TEST_DIR =		$(BUILD_DIR)/$(MACH$(BITS))/tests
+
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
 # common targets
@@ -60,10 +62,8 @@
 
 install:	$(INSTALL_32_and_64)	
 
-test: install
-		@cd $(BUILD_DIR_32)/tests; $(MAKE) check
-		@cd $(BUILD_DIR_64)/tests; $(MAKE) check
- 
+test:		install $(TEST_32_and_64)
+
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 include ../../make-rules/depend.mk