Enable Self-hosting, update smallpt test

extensions
Volodymyr Shymanskyy 5 years ago
parent 67e3968693
commit d640d8a796

@ -7,10 +7,6 @@
# ./run-wasi-test.py --exec "wasmer run" # ./run-wasi-test.py --exec "wasmer run"
# #
# TODO
# - Implement wasi args passing => reduce test time & cpu usage
# - Fix "Empty stack" output, so it does not affect the SHA1 checksum
import argparse import argparse
import sys import sys
import subprocess import subprocess
@ -94,14 +90,13 @@ commands = [
"skip": True, # TODO: Crashes "skip": True, # TODO: Crashes
"name": "smallpt (explicit light sampling)", "name": "smallpt (explicit light sampling)",
"wasm": "./benchmark/smallpt/smallpt-ex.wasm", "wasm": "./benchmark/smallpt/smallpt-ex.wasm",
"args": ["4"], "args": ["16", "64"],
"expect_sha1": "5643ad941e1ba3d5cf1ec158469776bbacd85542" "expect_sha1": "d85df3561eb15f6f0e6f20d5640e8e1306222c6d"
}, { }, {
"name": "STREAM", "name": "STREAM",
"wasm": "./benchmark/stream/stream.wasm", "wasm": "./benchmark/stream/stream.wasm",
"expect_pattern": "----*Solution Validates:*on all three arrays*----*" "expect_pattern": "----*Solution Validates:*on all three arrays*----*"
}, { }, {
"skip": True, # TODO: Crashes
"name": "Self-hosting", "name": "Self-hosting",
"wasm": "./self-hosting/wasm3-fib.wasm", "wasm": "./self-hosting/wasm3-fib.wasm",
"expect_pattern": "*wasm3 on WASM*Result: 832040*Elapsed: * ms*" "expect_pattern": "*wasm3 on WASM*Result: 832040*Elapsed: * ms*"

Loading…
Cancel
Save