diff options
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -361,8 +361,11 @@ for asm in tests: cmd += ['--imprecise'] wasm += '.imprecise' if not opts: - cmd += ['--no-opts'] wasm += '.no-opts' + if precise: + cmd += ['-O0'] # test that -O0 does nothing + else: + cmd += ['-O'] if precise and opts: # test mem init importing open('a.mem', 'wb').write(asm) |