Revision c2dab091 share/test/do_tests.sh

View differences:

share/test/do_tests.sh
62 62

  
63 63
if [ "$MYSQL" = "yes" ] ; then
64 64
    TEST_ARGS="-m"
65
    BUILD_ARGS="mysql=yes sqlite=no"
65 66
else
66 67
    TEST_ARGS="-s"
68
    BUILD_ARGS="mysql=no sqlite=yes"
67 69
fi
68 70

  
69 71
if [ "$LOGS" = "yes" ] ; then
......
88 90

  
89 91
    if [ "$CLEAR" = "yes" ] ; then
90 92
        scons -c
91
        rm -f callgrind.out* test.db* test.log* memgrid.out*
93
        rm -f callgrind.out* test.db* *.log* memgrid.out*
92 94
    elif [ "$BUILD" = "yes" ] ; then
93
        scons
95
        scons $BUILD_ARGS
94 96
    else
95 97
        for j in `ls test*` ; do
96 98
            $CALLER ./$j $TEST_ARGS

Also available in: Unified diff