]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Omit compat/os/ from direct header testing.
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 9 Nov 2010 22:21:42 +0000 (11:21 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 9 Nov 2010 22:21:42 +0000 (11:21 +1300)
The structural requirements of compat/ guarantee that they will be tested
wherever needed by indirect inclusion.

This also permits removal of one special-case usage of testHeaders.

compat/Makefile.am

index 2e3d3d9c9720c4066d86a230dd7aeeb89e7aabed..9d14a32cbe94d57c88ea6e65f42b3aacccf78eba 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 include $(top_srcdir)/src/Common.am
-
+include $(top_srcdir)/src/TestHeaders.am
 
 # Ideally this would be 100% inline functions and macro wrappers.
 
@@ -51,17 +51,3 @@ testPreCompiler_SOURCES= \
        $(top_srcdir)/src/tests/testMain.cc
 testPreCompiler_LDADD= $(SQUID_CPPUNIT_LA) $(SQUID_CPPUNIT_LIBS)
 testPreCompiler_LDFLAGS=
-
-# os/ subdir prevents us using src/TestHeaders.am
-#
-TESTS += testHeaders
-
-## Special Universal .h dependency test script
-## aborts if error encountered
-testHeaders: $(srcdir)/*.h $(srcdir)/os/*.h
-       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)" || exit 1
-       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(srcdir)/os" || exit 1
-
-CLEANFILES += testHeaders
-
-.PHONY: testHeaders