Added -Wno-unused-function to build rules for test-runner/bench-runner

Especially with partial builds of tests (TESTS=tests/t1_rbyd.toml)
becoming more useful, these warning have little value and hide other,
actually-useful warnings.
This commit is contained in:
Christopher Haster
2023-07-19 11:42:50 -05:00
parent 389987ee4f
commit b935579f52
+2
View File
@@ -352,6 +352,7 @@ summary-diff sizes-diff: $(OBJ) $(CI)
## Build the test-runner
.PHONY: test-runner build-test
test-runner build-test: CFLAGS+=-Wno-unused-function
ifndef NO_COV
test-runner build-test: CFLAGS+=--coverage
endif
@@ -403,6 +404,7 @@ testmarks-diff: $(TEST_CSV)
## Build the bench-runner
.PHONY: bench-runner build-bench
bench-runner build-bench: CFLAGS+=-Wno-unused-function
ifdef YES_COV
bench-runner build-bench: CFLAGS+=--coverage
endif