-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite shell_flags, support new SpiderMonkey shell runtime flags (es…
…p. for wasm) and add tests (#158), r=truber * Fix #114 - Update gczeal number testing in both funfuzz and jsfunfuzz, now supports up to 18. * Refactor the chance function and add a test. * Refactor randomFlagSet to random_flag_set and rename other variables into snake case. * Refactor shellSupportsFlag, renaming it to shell_supports_flag and add a test. * Split the test_basic_flag_sets function into two. * Move shell_flags to double quotes. * Fix syntax error post-move to double quotes. * Unbreak shell_flags tests. * Memoize the get_current_shell_path function and improve the docstring. * Refactor the random_flag_set function, split off some into other functions and add tests. * Remove the obsolete testRandomFlags function. * Improve test for the chance function. * Remove portion of test_random_flag_set function that may cause random coverage results. * Add support for "--cache-ir-stubs=[on|off]". * Add support for "--enable-streams". * Add support for "--no-array-proto-values". * Add support for "--ion-scalar-replacement=[on|off]". * Add support for "--enable-avx" and "--no-avx". * Add support for "--nursery-strings=[on|off]". * Update the earliest_known_working_rev function with the latest values from shell_flags. * Remove support for "--wasm-always-baseline" and update basic_flag_sets with more recent flag sets to test for compare_jit. * Migrate comment to #160. * Make sure "--ion-offthread-compile=on" is supported before using it. * Move asmjs flags into wasm section. * Ignore pylint error message in earliest_known_working_rev for now. * Add support for "--no-wasm-baseline" and "--no-wasm-ion" flags. * Improve level_two gczeal value generation in jsfunfuzz. * Use the monkeypatch fixture from pytest instead of using an "always" parameter. * Remove unneeded "always" parameter in functions in test_shell_flags.py as well. * Documentation changes. * Make the allocations_number a positive one to ensure test consistency. * Change the mock_chance function to not be function-specific and make other doc-related additions.
- Loading branch information
Showing
5 changed files
with
465 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.