mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
test regression script: parallalize better
This commit is contained in:
parent
aba54659bf
commit
54fa16d783
@ -9,13 +9,13 @@ 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.")}
|
||||
exec 3< <(check_test "sim-wally-batch" "All tests ran without failures.")
|
||||
echo "starting busybear"
|
||||
sleep 1
|
||||
coproc busybear {(check_test "sim-busybear-batch" "loaded 100000 instructions")}
|
||||
IFS= read -r -d '' -u "${rv64[0]}" rv64_out
|
||||
exec 4< <(check_test "sim-busybear-batch" "loaded 100000 instructions")
|
||||
rv64_out=$(cat <&3)
|
||||
[[ $rv64_out -eq 1 ]] && echo "rv64ic passed" || echo "rv64ic failed"
|
||||
IFS= read -r -d '' -u "${busybear[0]}" busybear_out
|
||||
busybear_out=$(cat <&4)
|
||||
[[ $busybear_out -eq 1 ]] && echo "busybear passed" || echo "busybear failed"
|
||||
|
||||
#wait $(jobs -p)
|
||||
|
Loading…
Reference in New Issue
Block a user