--- /dev/null
+# #!/bin/bash
+#
+# Run specific build tests for a given OS environment.
+#
+
+if test -f "./test-suite/buildtests/os-${1}.opts" ; then
+ echo "TESTING: ${1}"
+ ./test-suite/buildtest.sh ./test-suite/buildtests/os-${1}
+fi
+
+#
+# Run specific tests for each combination of configure-time
+# Options.
+#
+# These layers are constructed from detailed knowledge of
+# component dependencies.
+#
+
+for f in `ls -1 ./test-suite/buildtests/layer*.opts` ; do
+ echo "TESTING: ${f/.opts}"
+ ./test-suite/buildtest.sh ${f/.opts}
+done
--- /dev/null
+# #!/bin/bash
+#
+# Configure and run a test build against any given set of configure options
+# or compile-time flags.
+#
+# Should be run from the source package root directory with paths relative to there.
+#
+
+dist="${1}"
+
+# Figure out where to log the test output
+log=`echo "${dist}" | sed s/..test-suite.buildtests.//g `
+
+# ... and send everything there...
+(
+
+if test -f ${dist/.opts}.opts ; then
+ echo "BUILD: ${dist/.opts}.opts"
+ . ./${dist/.opts}.opts
+else
+ echo "BUILD: DEFAULT"
+ OPTS=""
+fi
+
+if test -f ${dist/.opts/}.flags ; then
+# echo "DEBUG: ${dist/.opts}.flags"
+ FLAGS=`cat ./${dist}.flags`
+# else nothing set for flags.
+fi
+
+#
+# empty all the existing code, reconfigure and builds test code
+
+make -k distclean
+
+#
+# above command currently encounters dependancy problems on cleanup.
+#
+rm -f -r src/fs/aufs/.deps src/fs/diskd/.deps &&
+ ./bootstrap.sh &&
+ ./configure ${OPTS} &&
+ make check &&
+ make
+
+
+) 2>&1 > ./buildtest_${log}.log
+
+# do not build any of the install's ...
--- /dev/null
+#
+# Default configuration options.
+# - Nothing special configured. Just whatever is found by "./configure"
+#
+OPTS=""
--- /dev/null
+# #!//bin/bash
+
+# Debian for some reason builds using explicit 'cc' instead of 'gcc' or automatic
+export build_alias="i486-linux-gnu"
+export CC="cc"
+export CFLAGS="-g -O2 -g -Wall -O2"
+export LDFLAGS=""
+export CPPFLAGS=""
+export CXX="g++"
+export CXXFLAGS="-g -O2 -g -Wall -O2"
+export FFLAGS="-g -O2"
--- /dev/null
+# #!/bin/bash
+#
+# Configure options currently used by Debian Packaged Release
+#
+# This is to test any release build against what the package maintainers are seeing
+#
+OPTS=" \
+ --build=i486-linux-gnu \
+ --prefix=/usr \
+ --includedir="\${prefix}/include" \
+ --mandir="\${prefix}/share/man" \
+ --infodir="\${prefix}/share/info" \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir="\${prefix}/lib/squid3" \
+ --disable-maintainer-mode \
+ --disable-dependency-tracking \
+ --srcdir=. \
+ --datadir=/usr/share/squid3 \
+ --sysconfdir=/etc/squid3 \
+ --mandir=/usr/share/man \
+ --with-cppunit-basedir=/usr \
+ --enable-inline \
+ --enable-async-io=8 \
+ --enable-storeio="ufs,aufs,coss,diskd,null" \
+ --enable-removal-policies="lru,heap" \
+ --enable-poll \
+ --enable-delay-pools \
+ --enable-cache-digests \
+ --enable-snmp \
+ --enable-htcp \
+ --enable-select \
+ --enable-carp \
+ --with-large-files \
+ --enable-underscores \
+ --enable-icap-client \
+ --enable-auth="basic,digest,ntlm" \
+ --enable-basic-auth-helpers="LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,getpwnam,multi-domain-NTLM" \
+ --enable-ntlm-auth-helpers="SMB" \
+ --enable-digest-auth-helpers="ldap,password" \
+ --enable-external-acl-helpers="ip_user,ldap_group,session,unix_group,wbinfo_group" \
+ --with-filedescriptors=65536 \
+ --with-default-user=proxy \
+ --enable-epoll \
+ --enable-linux-netfilter \
+"
--- /dev/null
+# #!/bin/bash
+
+# Ubuntu for some reason built using 'cc' instead of gcc
+export CC="/usr/bin/cc"
+export CXX="g++"
+export CFLAGS="-g -O2 -g -Wall -O2"
+export CXXFLAGS="-g -O2 -g -Wall -O2"
+export CPPFLAGS=""
+export LDFLAGS="-Wl,-Bsymbolic-functions"
--- /dev/null
+# #!/bin/bash
+#
+# Configure options currently used by Ubuntu Packaged Release
+#
+# This is to test any release build against what the package maintainers are seeing
+#
+OPTS=" \
+ --build=i486-linux-gnu \
+ --prefix=/usr \
+ --includedir="\${prefix}/include" \
+ --mandir="\${prefix}/share/man" \
+ --infodir="\${prefix}/share/info" \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir="\${prefix}/lib/squid3" \
+ --disable-maintainer-mode \
+ --disable-dependency-tracking \
+ --srcdir=. \
+ --datadir=/usr/share/squid3 \
+ --sysconfdir=/etc/squid3 \
+ --mandir=/usr/share/man \
+ --with-cppunit-basedir=/usr \
+ --enable-inline \
+ --enable-async-io=8 \
+ --enable-storeio="ufs,aufs,coss,diskd,null" \
+ --enable-removal-policies="lru,heap" \
+ --enable-poll \
+ --enable-delay-pools \
+ --enable-cache-digests \
+ --enable-snmp \
+ --enable-htcp \
+ --enable-select \
+ --enable-carp \
+ --with-large-files \
+ --enable-underscores \
+ --enable-icap-client \
+ --enable-auth="basic,digest,ntlm" \
+ --enable-basic-auth-helpers="LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,getpwnam,multi-domain-NTLM" \
+ --enable-ntlm-auth-helpers="SMB" \
+ --enable-digest-auth-helpers="ldap,password" \
+ --enable-external-acl-helpers="ip_user,ldap_group,session,unix_group,wbinfo_group" \
+ --with-filedescriptors=65536 \
+ --with-default-user=proxy \
+ --enable-epoll \
+ --enable-linux-netfilter \
+"