cepheid

An Aurora 4X clone
Log | Files | Refs | README

commit 1b1e902af2ca82b0464a7cafdf4ca86593cdd0e2
parent ed6f9a1e28acfa23e1b8adf46046a38550db171f
Author: hhvn <dev@hhvn.uk>
Date:   Mon, 16 Jan 2023 20:45:04 +0000

Don't hide test errors from make

Diffstat:
Mdev/config.mk | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev/config.mk b/dev/config.mk @@ -20,7 +20,7 @@ checks: $(SRC) test: touch .testing cd tests && make - make test-run RUNNER=run + make test-run RUNNER=run-basic rm -rf test.* touch .testing @@ -40,7 +40,9 @@ test-run: make $(RUNNER) CFLAGS="$(CFLAGS) -DTEST" LDFLAGS="$(LDFLAGS) -lcheck" SRC="$(SRC) $(shell find tests -type f -name "*.c")" run: all - gdb -ex 'set confirm on' -ex run -ex bt -ex quit --args $(BIN) $(ARGS) + gdb -ex 'set confirm on' -ex run -ex bt -ex quit --args ./$(BIN) $(ARGS) +run-basic: all + ./$(BIN) $(ARGS) gdb: all gdb --args ./$(BIN) $(ARGS)