From 69734ef9828854aa668b104d47e08526b7a2bed0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 23 Feb 2023 20:00:05 +0100 Subject: doublenull: add unit tests --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b10c533..a64b7fb 100644 --- a/Makefile +++ b/Makefile @@ -12,9 +12,12 @@ $(TARGET): $(OBJS) %.o: %.c $(CC) $(CFLAGS) -MMD -MF $(@:.o=.d) -MT $@ -c -o $@ $< +test: $(TARGET) + LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH python3 -m unittest + clean: -rm -f *.o *.d $(TARGET) -include $(OBJS:.o=.d) -.PHONY: clean +.PHONY: clean test -- cgit v1.2.3