Added 64 bit regression script

This commit is contained in:
Santosh Srivatsan 2022-02-03 15:20:15 -05:00
parent 836c777680
commit 8a525039af

36
ci/regression64.sh Executable file
View file

@ -0,0 +1,36 @@
#!/bin/bash
# exit when any command fails
set -e
# ensure build
XLEN=64 make -s
coverage()
{
echo "begin coverage tests..."
make -C tests/riscv/isa run-simx-64imfd
echo "coverage tests done!"
}
usage()
{
echo "usage: regression [-coverage] [-all] [-h|--help]"
}
while [ "$1" != "" ]; do
case $1 in
-coverage ) coverage
;;
-all ) coverage
;;
-h | --help ) usage
exit
;;
* ) usage
exit 1
esac
shift
done