components/squid/Makefile
changeset 5760 ae78071b3cad
parent 5682 94c0ca64c022
child 5797 432ac76de3b0
--- a/components/squid/Makefile	Wed Apr 13 13:41:44 2016 -0700
+++ b/components/squid/Makefile	Wed Apr 13 15:05:17 2016 -0700
@@ -38,7 +38,7 @@
 
 TPNO=			23264
 
-TEST_TARGET= $(NO_TESTS)
+TEST_TARGET= $(TEST_64)
 include $(WS_MAKE_RULES)/common.mk
 
 CFLAGS += -I$(USRINCDIR)/kerberosv5
@@ -92,11 +92,6 @@
 	(cd $(PROTO_DIR)/etc/squid ; \
  	echo '\ncache_effective_user webservd' >> squid.conf)
 
-# configure says it needs cppunit to test with.
-# After some work I can get cppunit to build but it quickly
-# falls over during test so giving up.
-# I don't think the test suite really tests squid's functionality anyways.
-#
 # To test manually follow along in the book
 # Squid Proxy Server 3.1 Beginner's Guide Page 34
 #
@@ -123,6 +118,17 @@
 # Enter <squid server URL>:897 in your web browser and squid should complain.
 # Squid is working properly.
 
+COMPONENT_TEST_TRANSFORMS += \
+	'-n ' \
+	'-e "/Testsuite/p" ' \
+	'-e "/=====/p" ' \
+	'-e "/TOTAL/p" ' \
+	'-e "/SKIP/p" ' \
+	'-e "/PASS/p" ' \
+	'-e "/FAIL/p" ' \
+	'-e "/Can not open file/d" ' \
+	'-e "/ERROR/p" '
+
 REQUIRED_PACKAGES += library/libtool/libltdl
 REQUIRED_PACKAGES += library/security/openssl
 REQUIRED_PACKAGES += runtime/perl-512