From b9d59cef4ec7abfc66222e671177068be99a34cc Mon Sep 17 00:00:00 2001 From: Kharec Date: Wed, 12 Nov 2025 07:04:26 +0100 Subject: [PATCH] tests: combining the fuzz case lists into a single variable --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 57823f0..6af5adb 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ UNIT_TEST_PACKAGES := ./cmd/goyco ./internal/config ./internal/database ./intern INTEGRATION_TEST_PACKAGE := ./internal/integration/... E2E_TEST_PACKAGE := ./internal/e2e/... -FUZZ_UNIT_CASES := \ +FUZZ_CASES := \ ./internal/validation::FuzzValidateEmail \ ./internal/validation::FuzzValidateUsername \ ./internal/validation::FuzzValidatePassword \ @@ -53,9 +53,7 @@ FUZZ_UNIT_CASES := \ ./internal/handlers::FuzzHTTPHeaders \ ./cmd/goyco::FuzzCLIArgs \ ./cmd/goyco::FuzzCommandDispatch \ - ./cmd/goyco::FuzzRunCommandHandler - -FUZZ_CENTRALIZED_CASES := \ + ./cmd/goyco::FuzzRunCommandHandler \ ./internal/fuzz::FuzzSearchRepository \ ./internal/fuzz::FuzzPostRepository \ ./internal/fuzz::FuzzIntegrationHandlers \ @@ -118,7 +116,7 @@ e2e-tests: fuzz-tests: @echo "Running fuzz tests..." - $(call run-fuzz-cases,$(FUZZ_UNIT_CASES) $(FUZZ_CENTRALIZED_CASES)) + $(call run-fuzz-cases,$(FUZZ_CASES)) install: @useradd -r -m -d $(INSTALL_DIR) -s /usr/sbin/nologin goyco