components/tcl/tcl/Makefile
changeset 181 87e11e685b1f
parent 175 5195b4ea17ad
child 225 2f3e03a69313
--- a/components/tcl/tcl/Makefile	Wed Apr 13 10:10:46 2011 -0600
+++ b/components/tcl/tcl/Makefile	Wed Apr 13 09:58:06 2011 -0700
@@ -57,6 +57,8 @@
 CONFIGURE_OPTIONS	+= --enable-threads
 CONFIGURE_OPTIONS.64	+= --enable-64bit
 
+COMPONENT_TEST_TARGETS = test
+
 # common targets
 build:		$(BUILD_32_and_64)
 
@@ -66,10 +68,7 @@
 		$(MV) $(PROTOUSRLIBDIR)/tclConfig.sh.new $(PROTOUSRLIBDIR)/tclConfig.sh
 		$(CHMOD) 555 $(PROTOUSRLIBDIR)/tclConfig.sh
 
-test: 		build
-		@cd $(BUILD_DIR_32); $(MAKE) test
-		@cd $(BUILD_DIR_64); $(MAKE) test
-
+test: 		$(TEST_32_and_64)
 
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)