diff options
author | Alon Zakai <azakai@google.com> | 2020-06-02 11:23:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 11:23:39 -0700 |
commit | 5c0b857fcc2fce78afc2f222f7d716be8c1949b2 (patch) | |
tree | 724dad335e4f26681a9fb72f57424f078cf038d3 | |
parent | 1b8942ce72a25e1e3d63128660d76b5ecde8acfb (diff) | |
download | binaryen-5c0b857fcc2fce78afc2f222f7d716be8c1949b2.tar.gz binaryen-5c0b857fcc2fce78afc2f222f7d716be8c1949b2.tar.bz2 binaryen-5c0b857fcc2fce78afc2f222f7d716be8c1949b2.zip |
Fuzzer: Don't keep doing `--denan` etc. in testcase handlers (#2889)
FUZZ_OPTS are things like --denan which affect generation of
the original wasm. We were passing those to testcase handlers,
which meant that in addition to the random optimizations we picked
they were also running --denan etc. again. That can be confusing,
so remove it.
-rwxr-xr-x | scripts/fuzz_opt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py index e16c6c320..8f9cbcb26 100755 --- a/scripts/fuzz_opt.py +++ b/scripts/fuzz_opt.py @@ -637,7 +637,7 @@ def test_one(random_input, opts, given_wasm): # let the testcase handler handle this testcase however it wants. in this case we give it # the input and both wasms. - testcase_handler.handle_pair(input=random_input, before_wasm='a.wasm', after_wasm='b.wasm', opts=opts + FUZZ_OPTS + FEATURE_OPTS) + testcase_handler.handle_pair(input=random_input, before_wasm='a.wasm', after_wasm='b.wasm', opts=opts + FEATURE_OPTS) print('') return bytes |