1 #!/bin/bash 2 bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5" 3 if [ -a testok.txt ] && [ -f testok.txt ]; then 4 echo 5 else 6 echo 7 echo "Test failed" 8 exit 1 9 fi 10 11 rm -f testok.txt 12 bash build.sh " $1" "$2 -Os" " $3 IGNORE_SPEED=1 LTC_SMALL=1" "$4" "$5" 13 if [ -a testok.txt ] && [ -f testok.txt ]; then 14 echo 15 else 16 echo 17 echo "Test failed" 18 exit 1 19 fi 20 21 rm -f testok.txt 22 bash build.sh " $1" " $2" " $3 " "$4" "$5" 23 if [ -a testok.txt ] && [ -f testok.txt ]; then 24 echo 25 else 26 echo 27 echo "Test failed" 28 exit 1 29 fi 30 31 exit 0 32 33 # $Source: /cvs/libtom/libtomcrypt/run.sh,v $ 34 # $Revision: 1.15 $ 35 # $Date: 2005/07/23 14:18:31 $ 36