summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesper Jensen <jesper@slashwin.dk>2021-10-05 23:08:27 +0200
committerJesper Jensen <jesper@slashwin.dk>2021-10-05 23:08:27 +0200
commit8d621f02e02ffc030dd25c2d47e0da71a8f540fe (patch)
tree9b205cb6e978988bcb7fb7ba70f2616e3f7b6548
parente0074d8b74f9e62df913a3817fc4cecf7cac2c69 (diff)
Actually abort on bad test
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7b68935..ebbf641 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ version:
# Run all tests
.PHONY: test
test: $(TEST_EXES)
- $(foreach test,$(TEST_EXES),./$(test);)
+ $(foreach test,$(TEST_EXES),./$(test) &&) true
$(OBJDIR)/test/%: $(APP_OBJS) $(TEST_LIB_OBJS) $(OBJDIR)/test/%.o $(OBJDIR)/test/%.runner.o
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(LIBS)