diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db70a31..ff11cfd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,12 +24,7 @@ jobs: - name: cargo test uses: actions-rs/cargo@v1 - with: - command: test - args: --workspace + run: make unit-tests - name: snapshot tests - run: | - chmod +x ./tests/snapshot_tests.sh - ./tests/snapshot_tests.sh - shell: bash + run: make snapshot-tests diff --git a/Makefile b/Makefile index 9b5e489..c45362c 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ snapshot-tests: ## Run snapshot-tests located in tests/ c-testsuite: ## Requires c-testsuite (https://github.com/c-testsuite/c-testsuite) and env-var C_TESTSUITE set to its path bash tests/c_testsuite.sh -fuzzer: ## Launch cargo-afl fuzzer +fuzzer: ## Launch afl.rs fuzzer cd fuzzer && \ cargo afl build && \ cargo afl fuzz -i inputs -o outputs target/debug/fuzz_target