From eecfa3c7030eadcd7c4ac63e10f242a2c1e2808b Mon Sep 17 00:00:00 2001 From: deftio Date: Thu, 8 Aug 2024 19:44:17 -0700 Subject: [PATCH] updated ci coverage --- companders_fulltest.c | 1 + makefile | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/companders_fulltest.c b/companders_fulltest.c index 7860440..d3839ae 100644 --- a/companders_fulltest.c +++ b/companders_fulltest.c @@ -163,5 +163,6 @@ int main() { test_IIRavgFR(); printf("\nTesting IIRavgPower2FR...\n"); test_IIRavgPower2FR(); + printf("\n\nAll tests passed!\n\n"); return 0; } diff --git a/makefile b/makefile index 0c7a79a..90c36f5 100644 --- a/makefile +++ b/makefile @@ -9,13 +9,14 @@ OBJ = companders.o compandit.o TEST_OBJ = companders.o companders_fulltest.o %.o: %.c $(DEPS) - $(CC) -c -o $@ $< $(CFLAGS) + $(CC) -c -o $@ $< $(CFLAGS_TEST) compandit: $(OBJ) $(CC) -o $@ $^ $(CFLAGS) -lm companders_fulltest: $(TEST_OBJ) - $(CC) -o $@ $^ $(CFLAGS_TEST) -lm + $(CC) -o $@ $^ $(CFLAGS_TEST) -lm + test: companders_fulltest ./companders_fulltest