refactor: move Wasm test files to tests/all/cli_tests

Previously the inputs to `tests/all/cli_tests.rs` were contained in
`tests/wasm`. This change moves them to the more obvious
`tests/all/cli_tests` directory and updates the paths that point to
them.
This commit is contained in:
Andrew Brown
2021-07-21 13:40:57 -07:00
parent 3309b1a684
commit 4deed8fe50
21 changed files with 25 additions and 25 deletions

View File

@@ -0,0 +1,13 @@
(module
(func (export "run") (result i32)
(local $i i32)
(i32.const 0) ;; sum
(i32.const 10) ;; i
(loop $loop (param i32 i32) (result i32)
(local.tee $i)
(i32.add) ;; sum = i + sum
(i32.sub (local.get $i) (i32.const 1))
(i32.eqz (local.tee $i))
(if (param i32) (result i32)
(then)
(else (local.get $i) (br $loop))))))