]> mj.ucw.cz Git - libucw.git/commitdiff
Moved check-customs to debug/, it's clearly a debugging utility.
authorMartin Mares <mj@ucw.cz>
Fri, 9 Jun 2006 15:50:59 +0000 (17:50 +0200)
committerMartin Mares <mj@ucw.cz>
Fri, 9 Jun 2006 15:50:59 +0000 (17:50 +0200)
build/check-customs [deleted file]

diff --git a/build/check-customs b/build/check-customs
deleted file mode 100755 (executable)
index d59861b..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-# A script for testing compilability of different configurations
-# (c) 2004--2006 Martin Mares <mj@ucw.cz>
-
-set -e
-
-TEST=0
-ERR=
-
-function try
-{
-       TEST=$(($TEST+1))
-       TDIR=tests/$TEST
-       mkdir $TDIR
-       echo "### Test $TEST: $@ ###" | tee $TDIR/log
-
-       (
-               cd $TDIR
-               if ! ../../configure $@ CC=gcc-3.4 >>log 2>&1 ; then
-                       echo "  CANNOT CONFIGURE"
-                       ERR=1
-               elif ! make >>log 2>&1 ; then
-                       echo "  FAILED"
-                       ERR=1
-               else
-                       echo "  PASSED"
-               fi
-       )
-}
-
-rm -rf tests
-mkdir tests
-if [ -n "$1" ] ; then
-       try "$@"
-else
-       try free                                                                        # the free version
-       try bare -CONFIG_INDEXER -CONFIG_SEARCH                                         # absolutely stripped version
-       try bare CONFIG_ALLOW_ANY                                                       # the bare version
-       try debug/matcher-test                                                          # bare + custom stats and matchers
-       try centrum/cz ROLE=search1-x                                                   # various Centrum.cz configurations
-       try centrum/cz ROLE=indexer
-       try centrum/cz ROLE=gather
-       try centrum/cz ROLE=reap+watson
-       try centrum/cz ROLE=all CONFIG_PARTMAP_IS_MMAP
-       try centrum/pl ROLE=all
-       try debug CONFIG_SHARED                                                         # debugging configuration with shared libs
-       try debug                                                                       # debugging configuration
-fi
-
-[ -z "$ERR" ]