1
0

Merge pull request #11 from ucb-bar/regression-fixes

Regression script fixes
This commit is contained in:
Andrew Waterman 2015-07-20 12:58:54 -07:00
commit 25e1412a33

View File

@ -4,6 +4,8 @@
# Script to setup submodules, build rocket-chip, and run asm tests, and optionally run torture
set -ex
echo "Starting Rocket-chip regression test"
if [ $# -lt 1 ]
then
@ -16,7 +18,7 @@ export RISCV="$(pwd)/install"; export PATH=$PATH:$RISCV/bin
cd riscv-tools; ./build.sh; cd ..
git submodule update --init
git submodule status --recursive
cd emulator; make CONFIG=$1 run-asm-tests; cd ..
cd emulator; make CONFIG=$1; make CONFIG=$1 run-asm-tests; cd ..
if [ $# -ge 2 ]
then
git clone git@github.com:ucb-bar/riscv-torture.git