Skip to content

Commit

Permalink
[Fuzzer] Pretty print of feature opts and passes (#4740)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGraey committed Jun 22, 2022
1 parent 1d2c759 commit 9801693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/fuzz_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def randomize_feature_opts():
FEATURE_OPTS.append(possible)
if possible in IMPLIED_FEATURE_OPTS:
FEATURE_OPTS.extend(IMPLIED_FEATURE_OPTS[possible])
print('randomized feature opts:', ' '.join(FEATURE_OPTS))
print('randomized feature opts:', '\n ' + '\n '.join(FEATURE_OPTS))


ALL_FEATURE_OPTS = ['--all-features', '-all', '--mvp-features', '-mvp']
Expand Down Expand Up @@ -1050,7 +1050,7 @@ def test_one(random_input, given_wasm):
pick_initial_contents()

opts = randomize_opt_flags()
print('randomized opts:', ' '.join(opts))
print('randomized opts:', '\n ' + '\n '.join(opts))
print()

if given_wasm:
Expand Down

0 comments on commit 9801693

Please sign in to comment.