Skip to content

Commit 464da33

Browse files
authored
Merge pull request #554 from vacantron/bugfix
Fix performance regression check with logger
2 parents d8814f2 + 6939d9a commit 464da33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/dhrystone.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function run_dhrystone()
1818
output=$($RUN $O/riscv32/dhrystone 2>&1)
1919
local exit_code=$?
2020
[ $exit_code -ne 0 ] && fail
21-
dmips=$(echo "$output" | grep -oE '[0-9]+' | awk 'NR==5{print}')
21+
dmips=$(echo "$output" | grep -Po '[0-9]+(?= DMIPS)' | awk '{print}')
2222
echo "$dmips"
2323
}
2424

0 commit comments

Comments
 (0)