This make the build process testing run 'squid -k parse' with a series
of test configuration files to exercise edge cases and backward
compatibility.
The default squid.conf which is to be installed on new systems is always
tested.
Other config files with unit tests can be dropped into
test-suite/squidconf/ and will be parse tested automatically.
MemPoolTest\
mem_node_test\
mem_hdr_test\
- $(ESI_TESTS)
+ $(ESI_TESTS) \
+ squid-conf-tests
## Sort by alpha - any build failures are significant.
check_PROGRAMS += debug \
##
##$(TARGLIB): $(LIBOBJS)
## $(AR_R) $(TARGLIB) $(LIBOBJS)
+
+squid-conf-tests:
+ ../src/squid -k parse -f ../src/squid.conf.default || exit 1
+ for t in `ls -1 $(srcdir)/squidconf/*`; do
+ ../src/squid -k parse -f $t || exit 1
+ done