Skip to content

Commit

Permalink
[replay] Remove --include-test
Browse files Browse the repository at this point in the history
No longer helpful and makes the default behavior unintuitive.
  • Loading branch information
tysmith committed Dec 27, 2023
1 parent 99abf07 commit 5d27e5c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion grizzly/reduce/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self):
super().__init__()

# these arguments have defaults that vary from ReplayCommonArgs
self.parser.set_defaults(include_test=True, logs=Path.cwd())
self.parser.set_defaults(logs=Path.cwd())

reduce_args = self.parser.add_argument_group("Reduce Arguments")
reduce_args.add_argument(
Expand Down
6 changes: 0 additions & 6 deletions grizzly/replay/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ def __init__(self):
"--sig", type=Path, help="Signature (JSON) file to match."
)

self.reporter_grp.add_argument(
"--include-test",
action="store_true",
help="Include the testcase when reporting results.",
)

def sanity_check(self, args):
super().sanity_check(args)

Expand Down
4 changes: 1 addition & 3 deletions grizzly/replay/replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,9 +708,7 @@ def main(cls, args):
if args.fuzzmanager:
cls.report_to_fuzzmanager(results, testcases, args.tool)
else:
cls.report_to_filesystem(
args.logs, results, testcases if args.include_test else None
)
cls.report_to_filesystem(args.logs, results, testcases)
return Exit.SUCCESS if success else Exit.FAILURE

except ConfigError as exc:
Expand Down

0 comments on commit 5d27e5c

Please sign in to comment.