Summary
The root Makefile has build, install, clean, and stubs targets but no test target. Running tests requires either scripts/run_tests.sh directly or ez test (which requires a prior install). A make test target would provide a standard, discoverable entry point.
Expected targets
test: build ## Run the full test suite
bash scripts/run_tests.sh
test-unit: ## Run C unit tests only
$(MAKE) -C ezc test-unit
test-go: ## Run Go tests only
go test ./pkg/lineeditor/... ./cmd/ez/... ./internal/ezc/...
Implementation guidance
- Open the root
Makefile
- Add
test, test-unit, and test-go targets
test should depend on build so the compiler is fresh before testing
- Update the
help target to include the new targets
- Update
CONTRIBUTING.md to mention make test as the primary test command
Files to modify
Makefile
CONTRIBUTING.md (mention make test)
Summary
The root
Makefilehasbuild,install,clean, andstubstargets but notesttarget. Running tests requires eitherscripts/run_tests.shdirectly orez test(which requires a prior install). Amake testtarget would provide a standard, discoverable entry point.Expected targets
Implementation guidance
Makefiletest,test-unit, andtest-gotargetstestshould depend onbuildso the compiler is fresh before testinghelptarget to include the new targetsCONTRIBUTING.mdto mentionmake testas the primary test commandFiles to modify
MakefileCONTRIBUTING.md(mentionmake test)