dep-libtomcrypt/.ci/run.sh

46 lines
765 B
Bash
Raw Permalink Normal View History

2005-06-09 00:08:13 +00:00
#!/bin/bash
# output version
2017-10-18 22:45:11 +02:00
bash .ci/printinfo.sh
2019-09-24 15:34:43 +02: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 15:34:43 +02: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 18:18:21 +02:00
rm -f testok.txt
2019-09-24 15:34:43 +02:00
bash .ci/build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5"
2017-06-06 18:18:21 +02: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 15:34:43 +02: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