diff --git a/bugmon/evaluator_configs/base.py b/bugmon/evaluator_configs/base.py index ff17789..5d41b00 100644 --- a/bugmon/evaluator_configs/base.py +++ b/bugmon/evaluator_configs/base.py @@ -34,16 +34,17 @@ def iter_build_flags(cls, bug: EnhancedBug) -> Iterator[BuildFlags]: """ # Don't yield and empty build flags object if not all(flag is False for flag in bug.build_flags): + pass # Avoid non-fuzzing debug builds now that crashreporter-symbols has been # removed from taskcluster - if not (bug.build_flags.debug and not bug.build_flags.fuzzing): - yield bug.build_flags + # if not (bug.build_flags.debug and not bug.build_flags.fuzzing): + # yield bug.build_flags for asan, debug, fuzzing in itertools.product([True, None], repeat=3): - # Avoid non-fuzzing debug builds - if debug and not fuzzing: - continue + # # Avoid non-fuzzing debug builds + # if debug and not fuzzing: + # continue # Avoid asan-debug builds because they're not used for fuzzing if asan and debug: diff --git a/poetry.lock b/poetry.lock index 7fdb44e..b894128 100644 --- a/poetry.lock +++ b/poetry.lock @@ -556,13 +556,13 @@ testing = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "diff-cover (>=7.5)", "p [[package]] name = "fuzzfetch" -version = "2.4.0" +version = "2.4.1" description = "Downloader for firefox/jsshell builds." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "fuzzfetch-2.4.0-py3-none-any.whl", hash = "sha256:804f8f13f8bc76d9495881667625a7dbaf366d6920e1748c3b4c4b6225fb44fc"}, - {file = "fuzzfetch-2.4.0.tar.gz", hash = "sha256:f6319023b0bbd4930a924884f09ee85b4235ed811a9f34ad44ed91cccd3bd631"}, + {file = "fuzzfetch-2.4.1-py3-none-any.whl", hash = "sha256:3be510597d749f666d1fad419537c9f94bb9264aa03c4857b352a24558f7f9a7"}, + {file = "fuzzfetch-2.4.1.tar.gz", hash = "sha256:f9782362fcffc4018256c3bf7f6bff50b0dc68c55a5ff2bd57b6b113ff0bfab4"}, ] [package.dependencies] @@ -1988,4 +1988,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "faf851a7c47e840dc05938b3285eedc51d34838155a22a969207309fb2f29560" +content-hash = "0333ab34282b2346e9c3c00adf8a1a7a5c5834311ab10ae5c18b181ccdddb79d" diff --git a/pyproject.toml b/pyproject.toml index e69b010..69613f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ version = "3.1.2" [tool.poetry.dependencies] autobisect = "^7.0.2" bugsy = { git = "https://github.com/AutomatedTester/Bugsy.git" } -fuzzfetch = "^2.2.2" +fuzzfetch = "^2.4.1" python = "^3.8" typing-extensions = "^4.2.0" diff --git a/tests/test_configs.py b/tests/test_configs.py index c7267fa..051a43e 100644 --- a/tests/test_configs.py +++ b/tests/test_configs.py @@ -26,7 +26,7 @@ def test_bug_configuration_iter_build_flags_001(bug_data): build_flags = list(BugConfiguration.iter_build_flags(bug)) # Check for the expected number of flag combinations - assert len(build_flags) == 4 + assert len(build_flags) == 5 # Check that all results are BuildFlags assert all(isinstance(x, BuildFlags) for x in build_flags) # Check for duplicates @@ -95,7 +95,7 @@ def test_browser_configuration_iterate_001(bug_data): Path(tmp_path / "3.js").touch() bug = EnhancedBug(None, **bug_data) - assert len(list(BrowserConfiguration.iterate(bug, tmp_path))) == 16 + assert len(list(BrowserConfiguration.iterate(bug, tmp_path))) == 20 def test_js_configuration_iterate_001(mocker, bug_data): @@ -111,4 +111,4 @@ def test_js_configuration_iterate_001(mocker, bug_data): ) mock.return_value = [] bug = EnhancedBug(None, **bug_data) - assert len(list(JSConfiguration.iterate(bug, tmp_path))) == 12 + assert len(list(JSConfiguration.iterate(bug, tmp_path))) == 15