|
|
@ -64,12 +64,14 @@ commands = [
|
|
|
|
"name": "Simple WASI test",
|
|
|
|
"name": "Simple WASI test",
|
|
|
|
"wasm": "./wasi/test.wasm",
|
|
|
|
"wasm": "./wasi/test.wasm",
|
|
|
|
"args": ["cat", "./wasi/0.txt"],
|
|
|
|
"args": ["cat", "./wasi/0.txt"],
|
|
|
|
"expect_pattern": "Hello world*Constructor OK*Args: *; cat; ./wasi/0.txt;*fib(20) = 6765*[* ms]*48 65 6c 6c 6f 20 77 6f 72 6c 64*=== done ===*"
|
|
|
|
"expect_pattern": "Hello world*Constructor OK*Args: *; cat; ./wasi/0.txt;*fib(20) = 6765*[* ms]*=== done ===*"
|
|
|
|
|
|
|
|
#TODO: "expect_pattern": "Hello world*Constructor OK*Args: *; cat; ./wasi/0.txt;*fib(20) = 6765*[* ms]*48 65 6c 6c 6f 20 77 6f 72 6c 64*=== done ===*"
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
"name": "Simple WASI test (wasm-opt -O3)",
|
|
|
|
"name": "Simple WASI test (wasm-opt -O3)",
|
|
|
|
"wasm": "./wasi/test-opt.wasm",
|
|
|
|
"wasm": "./wasi/test-opt.wasm",
|
|
|
|
"args": ["cat", "./wasi/0.txt"],
|
|
|
|
"args": ["cat", "./wasi/0.txt"],
|
|
|
|
"expect_pattern": "Hello world*Constructor OK*Args: *; cat; ./wasi/0.txt;*fib(20) = 6765*[* ms]*48 65 6c 6c 6f 20 77 6f 72 6c 64*=== done ===*"
|
|
|
|
"expect_pattern": "Hello world*Constructor OK*Args: *; cat; ./wasi/0.txt;*fib(20) = 6765*[* ms]*=== done ===*"
|
|
|
|
|
|
|
|
#TODO: "expect_pattern": "Hello world*Constructor OK*Args: *; cat; ./wasi/0.txt;*fib(20) = 6765*[* ms]*48 65 6c 6c 6f 20 77 6f 72 6c 64*=== done ===*"
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
"name": "mandelbrot",
|
|
|
|
"name": "mandelbrot",
|
|
|
|
"wasm": "./benchmark/mandelbrot/mandel.wasm",
|
|
|
|
"wasm": "./benchmark/mandelbrot/mandel.wasm",
|
|
|
|