2 # A script for testing compilability of different configurations
3 # (c) 2004--2005 Martin Mares <mj@ucw.cz>
14 echo "### Test $TEST: $@ ###" | tee $TDIR/log
18 if ! ../../configure $@ CC=gcc-3.0 >>log 2>&1 ; then
19 echo " CANNOT CONFIGURE"
22 if ! make >>log 2>&1 ; then
35 try free # the free version
36 try bare -CONFIG_INDEXER -CONFIG_SEARCH # absolutely stripped version
37 try bare # the bare version
38 try debug/matcher-test # bare + custom stats and matchers
39 try centrum/cz ROLE=search # various Centrum.cz configurations
40 try centrum/cz ROLE=indexer
41 try centrum/cz ROLE=gather
42 try centrum/cz ROLE=reap+watson
43 try centrum/cz ROLE=all
45 try debug CONFIG_SHARED # debugging configuration with shared libs
46 try debug # debugging configuration