components/gcc45/Makefile
changeset 2164 b580bc10e31a
parent 1948 2d1537e7942d
child 2225 f064d3d3190d
--- a/components/gcc45/Makefile	Tue Oct 21 02:05:30 2014 -0700
+++ b/components/gcc45/Makefile	Tue Oct 21 12:20:30 2014 -0700
@@ -88,20 +88,21 @@
 
 COMPONENT_BUILD_TARGETS=bootstrap
 
+# To ensure that all tests that are expected to pass actually
+# pass, we have to increase the stacksize limit to at least
+# 16384 Kb. Otherwise we'll get spurious failures in the test
+# harness (gcc.c-torture/compile/limits-exprparen.c and others).
+# With the soft stacksize limit set to 16384 we get very good
+# test results.
+COMPONENT_TEST_DIR =	$(BUILD_DIR_32)/gcc
+COMPONENT_TEST_CMD =	ulimit -Ss 16384 ; $(GMAKE)
+COMPONENT_TEST_ARGS =	-k -i
+
 build:		$(BUILD_32)
 
 install:	$(INSTALL_32) 
 
-# To ensure that all tests that are expected to pass actually
-# pass, we have to increase the stacksize limit to at least 
-# 16384 Kb. Otherwise we'll get spurious failures in the test
-# harness (gcc.c-torture/compile/limits-exprparen.c and others).
-# With the soft stacksize limit set to 16384 we get very good
-# test results.
-test:
-	( cd $(BUILD_DIR_32)/gcc ; \
-	    ulimit -Ss 16384 ; \
-	    $(GMAKE) -k -i check )
+test:		$(TEST_32)
 
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)