]> git.ipfire.org Git - thirdparty/squid.git/blob - test-builds.sh
TestBed: Layer 01 - Minimal build
[thirdparty/squid.git] / test-builds.sh
1 #!/bin/sh
2 #
3 # Run specific build tests for a given OS environment.
4 #
5
6 tmp="${1}"
7 if test -x "./test-suite/buildtests/os-${tmp}.opts" ; then
8 echo "TESTING: ${tmp}"
9 ./test-suite/buildtest.sh ./test-suite/buildtests/os-${tmp}
10 fi
11
12 #
13 # Run specific tests for each combination of configure-time
14 # Options.
15 #
16 # These layers are constructed from detailed knowledge of
17 # component dependencies.
18 #
19
20 for f in `ls -1 ./test-suite/buildtests/layer*.opts` ; do
21 arg=`echo "${f}" | sed s/\\.opts//`
22 echo "TESTING: ${arg}"
23 ./test-suite/buildtest.sh "${arg}" || exit 1
24 done