Skip to content

Commit

Permalink
updated ci coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
deftio committed Aug 9, 2024
1 parent d2be001 commit eecfa3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions companders_fulltest.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,6 @@ int main() {
test_IIRavgFR();
printf("\nTesting IIRavgPower2FR...\n");
test_IIRavgPower2FR();
printf("\n\nAll tests passed!\n\n");
return 0;
}
5 changes: 3 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eecfa3c

Please sign in to comment.