libtomcrypt/.ci/run.sh

50 lines
848 B
Bash
Raw Normal View History

2005-06-09 00:08:13 +00:00
#!/bin/bash
# output version
2017-10-18 20:45:11 +00:00
bash .ci/printinfo.sh
2019-09-24 13:34:43 +00:00
bash .ci/build.sh " $1" "$2" "$3" "$4" "$5"
2005-06-09 00:08:13 +00:00
if [ -a testok.txt ] && [ -f testok.txt ]; then
echo
else
echo
echo "Test failed"
exit 1
2005-06-09 00:08:13 +00:00
fi
rm -f testok.txt
2019-09-24 13:34:43 +00:00
bash .ci/build.sh " $1" "$2" "$3 LTC_DEBUG=1" "$4" "$5"
2005-06-09 00:08:13 +00:00
if [ -a testok.txt ] && [ -f testok.txt ]; then
echo
else
echo
echo "Test failed"
exit 1
2005-06-09 00:08:13 +00:00
fi
2017-06-06 16:18:21 +00:00
rm -f testok.txt
2019-09-24 13:34:43 +00:00
bash .ci/build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5"
2017-06-06 16:18:21 +00:00
if [ -a testok.txt ] && [ -f testok.txt ]; then
echo
else
echo
echo "Test failed"
exit 1
fi
2005-06-09 00:08:13 +00:00
rm -f testok.txt
2019-09-24 13:34:43 +00:00
bash .ci/build.sh " $1" "$2" "$3 IGNORE_SPEED=1 LTC_SMALL=1" "$4" "$5"
2005-06-09 00:08:13 +00:00
if [ -a testok.txt ] && [ -f testok.txt ]; then
echo
else
echo
echo "Test failed"
exit 1
2005-06-09 00:08:13 +00:00
fi
exit 0
2017-06-19 11:43:49 +00:00
# ref: $Format:%D$
# git commit: $Format:%H$
# commit time: $Format:%ai$