Skip to content

Commit

Permalink
Add wasm2c output samples to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
keithw committed Nov 8, 2022
1 parent 7410884 commit ef6ce88
Show file tree
Hide file tree
Showing 4 changed files with 2,005 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@
] + wasm2c_args),
('VERBOSE-ARGS', ['--print-cmd', '-v']),
],
'run-wasm2c': [
('RUN', '%(wat2wasm)s %(in_file)s -o %(temp_file)s.wasm'),
('RUN', '%(wasm2c)s -n test %(temp_file)s.wasm'),
],
'run-wasm-decompile': [
('RUN', '%(wat2wasm)s --enable-all %(in_file)s -o %(temp_file)s.wasm'),
('RUN', '%(wasm-decompile)s --enable-all %(temp_file)s.wasm'),
Expand Down
Loading

0 comments on commit ef6ce88

Please sign in to comment.