ci: small cleanup of parser-silent-fuzzing

pull/7342/head
Delyan Angelov 2020-12-15 11:21:24 +02:00
parent 5684ed5a8a
commit d061a52829
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 8 additions and 10 deletions

View File

@ -716,25 +716,23 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Build local v
run: make -j4
- name: Install zzuf
run: sudo apt install -qq zzuf
- name: Run test-parser
- name: Build local v
run: make -j4
- name: Run test-parser over fuzzed files
run: |
zzuf -R '\x00-\x20\x7f-\xff' -r0.01 < examples/hello_world.v > examples/hello_world_fuzz.v
./v test-parser examples/hello_world_fuzz.v
zzuf -R '\x00-\x20\x7f-\xff' -r0.01 < examples/hanoi.v > examples/hanoi_fuzz.v
./v test-parser examples/hanoi_fuzz.v
zzuf -R '\x00-\x20\x7f-\xff' -r0.01 < examples/fibonacci.v > examples/fibonacci_fuzz.v
./v test-parser examples/fibonacci.v
zzuf -R '\x00-\x20\x7f-\xff' -r0.01 < examples/cli.v > examples/cli_fuzz.v
./v test-parser examples/cli_fuzz.v
zzuf -R '\x00-\x20\x7f-\xff' -r0.01 < examples/json.v > examples/json_fuzz.v
./v test-parser examples/json.v
zzuf -R '\x00-\x20\x7f-\xff' -r0.01 < examples/vmod.v > examples/vmod_fuzz.v
./v test-parser examples/vmod.v
zzuf -R '\x00-\x20\x7f-\xff' -r0.01 < examples/regex_example.v > examples/regex_example_fuzz.v
./v test-parser examples/regex_example_fuzz.v
zzuf -R '\x00-\x20\x7f-\xff' -r0.01 < examples/2048/2048.v > examples/2048/2048_fuzz.v
./v test-parser examples/hello_world_fuzz.v
./v test-parser examples/hanoi_fuzz.v
./v test-parser examples/cli_fuzz.v
./v test-parser examples/regex_example_fuzz.v
./v test-parser examples/2048/2048_fuzz.v