]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
TestBed: maximum build run
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 6 Oct 2008 08:17:53 +0000 (21:17 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 6 Oct 2008 08:17:53 +0000 (21:17 +1300)
test-builds.sh
test-suite/buildtests/layer-02-maximus.opts [new file with mode: 0644]

index 7f0660842ff4bff64ea1fc970ea9caf91fe9dd4e..5014e0e19ea3ef38d7213c98d2fa765ffd003a3b 100755 (executable)
@@ -21,5 +21,5 @@ for f in `ls -1 ./test-suite/buildtests/layer*.opts` ; do
        arg=`echo "${f}" | sed s/\\.opts//`
        echo "TESTING: ${arg}"
        ./test-suite/buildtest.sh "${arg}" ||
-       ( grep -E "^ERROR" buildtest_*.log && exit 1 )
+       ( grep -E "^ERROR|\ error:\ " buildtest_*.log && exit 1 )
 done
diff --git a/test-suite/buildtests/layer-02-maximus.opts b/test-suite/buildtests/layer-02-maximus.opts
new file mode 100644 (file)
index 0000000..de5e7ea
--- /dev/null
@@ -0,0 +1,98 @@
+#
+# Minimal configuration options.
+# - Everthing that can be disabled is
+# - Everyhing that can be done without is 
+#
+# The options for this level can be easily generated semi-automatically from configure.in by:
+#      grep -E "^AC_ARG_ENABLE" ./configure.in | grep -o -E "[0-9a-z\-]+[,]" | grep -o -E "[^,]+" >disable.opts
+# followed by insertion of '   --enable-' and '\' strings
+#
+#      grep -E "^AC_ARG_WITH" ./configure.in | grep -o -E "[0-9a-z\-]+[,]" | grep -o -E "[^,]+" >without.opts
+# followed by insertion of '   --with-' and ' \' strings
+#
+# sometimes it's just too automatic..
+#      Following options should be populated with local settings.
+#      We can't test them automatically everywhere
+#
+#   --with-default-user=NAME \
+#   --with-aufs-threads=N \
+#   --with-coss-membuf-size=N \
+#   --with-filedescriptors=N \
+#   --with-cppunit-basedir=PATH \
+#   --with-openssl=PATH \
+#   --with-po2html=PATH \
+#
+OPTS=" \
+       --enable-loadable-modules \
+       --enable-gnuregex \
+       --enable-optimizations \
+       --enable-inline \
+       --enable-debug-cbdata \
+       --enable-xmalloc-statistics \
+       --enable-async-io \
+       --enable-storeio \
+       --enable-disk-io \
+       --enable-removal-policies \
+       --enable-icmp \
+       --enable-delay-pools \
+       --enable-esi \
+       --enable-icap-client \
+       --enable-ecap \
+       --enable-useragent-log \
+       --enable-referer-log \
+       --enable-wccp \
+       --enable-wccpv2 \
+       --enable-kill-parent-hack \
+       --enable-snmp \
+       --enable-cachemgr-hostname \
+       --enable-arp-acl \
+       --enable-htcp \
+       --enable-ssl \
+       --enable-forw-via-db \
+       --enable-cache-digests \
+       --enable-poll \
+       --enable-select \
+       --enable-kqueue \
+       --enable-epoll \
+       --enable-http-violations \
+       --enable-ipfw-transparent \
+       --enable-ipf-transparent \
+       --enable-pf-transparent \
+       --enable-linux-netfilter \
+       --enable-linux-tproxy \
+       --enable-leakfinder \
+       --enable-follow-x-forwarded-for \
+       --enable-ident-lookups \
+       --enable-internal-dns \
+       --enable-default-hostsfile \
+       --enable-auth \
+       --enable-basic-auth-helpers=all \
+       --enable-ntlm-auth-helpers=all \
+       --enable-negotiate-auth-helpers=all \
+       --enable-digest-auth-helpers=all \
+       --enable-ntlm-fail-open \
+       --enable-external-acl-helpers=all \
+       --enable-mempools \
+       --enable-win32-service \
+       --enable-unlinkd \
+       --enable-stacktraces \
+       --enable-cpu-profiling \
+       --enable-vary \
+       --enable-ipv6 \
+       --enable-zph-qos \
+       --enable-auto-locale \
+ \
+       --with-aio \
+       --with-build-environment=default \
+       --with-dl \
+       --with-dns-cname \
+       --with-gnu-ld \
+       --with-ipv4-mapped \
+       --with-ipv6-split-stack \
+       --with-large-files \
+       --with-localhost-ipv6 \
+       --with-pic \
+       --with-pthreads \
+       --with-tags \
+       --with-valgrind-debug \
+       "