We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8814f2 + 6939d9a commit 464da33Copy full SHA for 464da33
tests/dhrystone.sh
@@ -18,7 +18,7 @@ function run_dhrystone()
18
output=$($RUN $O/riscv32/dhrystone 2>&1)
19
local exit_code=$?
20
[ $exit_code -ne 0 ] && fail
21
- dmips=$(echo "$output" | grep -oE '[0-9]+' | awk 'NR==5{print}')
+ dmips=$(echo "$output" | grep -Po '[0-9]+(?= DMIPS)' | awk '{print}')
22
echo "$dmips"
23
}
24
0 commit comments