From aba54659bf063cc096395ac66acac3c9bde8c55c Mon Sep 17 00:00:00 2001 From: Noah Boorstin Date: Thu, 11 Mar 2021 07:32:31 +0000 Subject: [PATCH] test regression script: try adding verilator checking also --- wally-pipelined/regression/regression-wally.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wally-pipelined/regression/regression-wally.sh b/wally-pipelined/regression/regression-wally.sh index a5945ef7b..0ef767548 100755 --- a/wally-pipelined/regression/regression-wally.sh +++ b/wally-pipelined/regression/regression-wally.sh @@ -4,6 +4,9 @@ check_test () { found=$(echo $output | grep -c "$2") echo "$found" } +echo "checking verilator" +verilator_out=$(cd ..; ./lint-wally 2>&1) +[[ -z $verilator_out ]] && echo "verilator passed" || echo "verilator failed" echo "starting Imperas rv64ic" sleep 1 coproc rv64 {(check_test "sim-wally-batch" "All tests ran without failures.")} @@ -16,4 +19,4 @@ IFS= read -r -d '' -u "${busybear[0]}" busybear_out [[ $busybear_out -eq 1 ]] && echo "busybear passed" || echo "busybear failed" #wait $(jobs -p) -[[ $rv64_out -eq 1 && $busybear_out -eq 1 ]] && echo "all passed" || echo "not all passed" +[[ -z $verilator_out && $rv64_out -eq 1 && $busybear_out -eq 1 ]] && echo "all passed" || echo "not all passed"