(file) Return to configoptiontest.sh CVS log (file) (dir) Up to [OMI] / omi / scripts

File: [OMI] / omi / scripts / configoptiontest.sh (download) / (as text)
Revision: 1.1, Mon Apr 20 17:20:13 2015 UTC (9 years ago) by krisbash
Branch: MAIN
CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD
OMI 1.0.8-1

#!/bin/sh

##
## disable-indication
##
./configure --disable-indication --dev
make clean
make
make tests
if [ "$?" != "0" ]; then
    echo "-----------------disable-indication failed-----------------------"
    exit 1
fi

##
## disable-localsession
##
./configure --disable-localsession --dev
make clean
make
make tests
if [ "$?" != "0" ]; then
    echo "------------------disable-localsession failed--------------------"
    exit 1
fi

##
## enable-httpheaders
##
./configure --enable-httpheaders --dev
make clean
make
make tests
if [ "$?" != "0" ]; then
    echo "-------------------enable-httpheaders failed---------------------"
    exit 1
fi


##
## enable-preexec 
##
./configure --enable-preexec  --dev
make clean
make
make tests
if [ "$?" != "0" ]; then
    echo "--------------------enable-preexec failed------------------------"
    exit 1
fi

##
## enable-sections
##
./configure --enable-sections  --dev
make clean
make
make tests
if [ "$?" != "0" ]; then
    echo "--------------------enable-sections failed-----------------------"
    exit 1
fi


##
## singleimage
##
./configure --singleimage  --dev
make clean
make
make tests
if [ "$?" != "0" ]; then
    echo "--------------------singleimage failed---------------------------"
    exit 1
fi




##==============================================================================
##
## SUCCESS
##
##==============================================================================

echo ""
echo ""
echo "##===================##"
echo "##                   ##"
echo "## ALL TESTS PASSED! ##"
echo "##                   ##"
echo "##===================##"
echo ""
exit 0

ViewCVS 0.9.2