1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
#!/bin/sh
if [ ! -f test_C_02.c ]; then ln -s test_C_01.c test_C_02.c; fi
if [ ! -f test_C_03.c ]; then ln -s test_C_01.c test_C_03.c; fi
if [ ! -f test_C_13.c ]; then ln -s test_C_01.c test_C_13.c; fi
if [ ! -f test_C_14.c ]; then ln -s test_C_01.c test_C_14.c; fi
REMOVE_TEMPORARIES=1
export REMOVE_TEMPORARIES
os="`uname``uname -r`"
case x"$os" in
xSunOS4*) CTEST="01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18";;
x*) CTEST="01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19";;
esac
CPPTEST="01 02"
echo "====================="
echo "TEST SET FOR ccmalloc"
echo "====================="
echo
echo "tests for 'C'"
echo "-------------"
for i in $CTEST
do
./testone test_C_$i.c || exit 1
done
echo "done."
echo
echo "tests for 'C++'"
echo "---------------"
for i in $CPPTEST
do
./testone test_C++_$i.cc || exit 1
done
echo "done."
|