diff options
author | Sam Clegg <sbc@chromium.org> | 2019-12-08 20:50:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-08 20:50:25 -0600 |
commit | 42b61e3c2e7851ed001bf26a7e1afab21d0cb38d (patch) | |
tree | b86a0a10ec9ea1d4351e4500ff84f987894aaf8e /test/unit/test_stack_ir.py | |
parent | b232033385b025ba276423613fb67f644c0596ce (diff) | |
download | binaryen-42b61e3c2e7851ed001bf26a7e1afab21d0cb38d.tar.gz binaryen-42b61e3c2e7851ed001bf26a7e1afab21d0cb38d.tar.bz2 binaryen-42b61e3c2e7851ed001bf26a7e1afab21d0cb38d.zip |
Use wat over wast for text format filenames (#2518)
Diffstat (limited to 'test/unit/test_stack_ir.py')
-rw-r--r-- | test/unit/test_stack_ir.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_stack_ir.py b/test/unit/test_stack_ir.py index 1fcab88d8..78086d0cc 100644 --- a/test/unit/test_stack_ir.py +++ b/test/unit/test_stack_ir.py @@ -6,7 +6,7 @@ from . import utils class StackIRTest(utils.BinaryenTestCase): # test that stack IR opts make a difference. def test_stack_ir_opts(self): - path = self.input_path('stack_ir.wast') + path = self.input_path('stack_ir.wat') opt = shared.run_process(shared.WASM_OPT + [path, '-O', '--generate-stack-ir', '--optimize-stack-ir', '--print-stack-ir', '-o', 'a.wasm'], capture_output=True).stdout nonopt = shared.run_process(shared.WASM_OPT + [path, '-O', '--generate-stack-ir', '--print-stack-ir', '-o', 'b.wasm'], capture_output=True).stdout # see a difference in the printed stack IR (the optimizations let us |