From d061a528292e23d30cf4f68f3d56f17efc2189f7 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 15 Dec 2020 11:21:24 +0200 Subject: [PATCH] ci: small cleanup of parser-silent-fuzzing --- .github/workflows/ci.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7e3aff2be..89a7dcc920 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 +