Skip to content

Commit

Permalink
feat(tests, fuzzing): improve fuzzer-crash-triage script
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed Dec 28, 2024
1 parent 7c9e8a6 commit 2a9135e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/fuzzing/fuzzer-crash-triage.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ def main():
args = [f for f in sys.argv[1:] if "__arkscript__" not in f]
files_count = len(args)

if files_count == 0:
print("No input files. Usage: script.py folder/*.ark")
exit(1)

for i, file in enumerate(args):
if os.path.exists(file) and os.path.isfile(file):
print(f"{file}\n{'-' * len(file)}")
Expand Down

0 comments on commit 2a9135e

Please sign in to comment.