mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2026-01-19 15:56:40 +00:00
test: increase interpreter mode iterations to 1000 for consistency
This commit is contained in:
parent
6b1fb93f37
commit
4fd87d8725
|
|
@ -74,14 +74,14 @@ fi
|
|||
|
||||
if [[ $1 != "--aot" ]]; then
|
||||
echo "============> run stress_registers.wasm (interpreter mode)"
|
||||
echo "Running 100 iterations in interpreter mode..."
|
||||
for i in $(seq 1 100); do
|
||||
echo "Running 1000 iterations in interpreter mode..."
|
||||
for i in $(seq 1 1000); do
|
||||
if ! ${IWASM_CMD} stress_registers.wasm 2>&1; then
|
||||
echo "FAILED: Crash at iteration $i"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
echo "PASSED: 100 iterations completed without crash"
|
||||
echo "PASSED: 1000 iterations completed without crash"
|
||||
else
|
||||
echo "============> compile stress_registers.wasm to AOT"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user