Merge pull request #11 from ucb-bar/regression-fixes
Regression script fixes
This commit is contained in:
commit
25e1412a33
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
# Script to setup submodules, build rocket-chip, and run asm tests, and optionally run torture
|
# Script to setup submodules, build rocket-chip, and run asm tests, and optionally run torture
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
echo "Starting Rocket-chip regression test"
|
echo "Starting Rocket-chip regression test"
|
||||||
if [ $# -lt 1 ]
|
if [ $# -lt 1 ]
|
||||||
then
|
then
|
||||||
@ -16,7 +18,7 @@ export RISCV="$(pwd)/install"; export PATH=$PATH:$RISCV/bin
|
|||||||
cd riscv-tools; ./build.sh; cd ..
|
cd riscv-tools; ./build.sh; cd ..
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
git submodule status --recursive
|
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 ]
|
if [ $# -ge 2 ]
|
||||||
then
|
then
|
||||||
git clone git@github.com:ucb-bar/riscv-torture.git
|
git clone git@github.com:ucb-bar/riscv-torture.git
|
||||||
|
Loading…
Reference in New Issue
Block a user