tomcrypt/run.sh

50 lines
832 B
Bash
Raw Normal View History

2005-06-08 20:08:13 -04:00
#!/bin/bash
# output version
bash printinfo.sh
2005-08-01 12:36:47 -04:00
bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5"
2005-06-08 20:08:13 -04:00
if [ -a testok.txt ] && [ -f testok.txt ]; then
echo
else
echo
echo "Test failed"
exit 1
2005-06-08 20:08:13 -04:00
fi
rm -f testok.txt
2017-02-28 11:35:57 -05:00
bash build.sh " $1" "$2 -Os" "$3 IGNORE_SPEED=1 LTC_SMALL=1" "$4" "$5"
2005-06-08 20:08:13 -04:00
if [ -a testok.txt ] && [ -f testok.txt ]; then
echo
else
echo
echo "Test failed"
exit 1
2005-06-08 20:08:13 -04:00
fi
2017-06-06 12:18:21 -04:00
rm -f testok.txt
bash build.sh " $1" "$2" "$3 LTC_DEBUG=1" "$4" "$5"
if [ -a testok.txt ] && [ -f testok.txt ]; then
echo
else
echo
echo "Test failed"
exit 1
fi
2005-06-08 20:08:13 -04:00
rm -f testok.txt
2017-02-28 11:35:57 -05:00
bash build.sh " $1" "$2" "$3" "$4" "$5"
2005-06-08 20:08:13 -04:00
if [ -a testok.txt ] && [ -f testok.txt ]; then
echo
else
echo
echo "Test failed"
exit 1
2005-06-08 20:08:13 -04:00
fi
exit 0
2017-06-19 07:43:49 -04:00
# ref: $Format:%D$
# git commit: $Format:%H$
# commit time: $Format:%ai$