We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c8bae9 commit 7cd533eCopy full SHA for 7cd533e
test/Makefile
@@ -260,7 +260,8 @@ endif
260
coverage:
261
@echo "Building with coverage enabled..."
262
$(MAKE) clean
263
- $(MAKE) COVERAGE=1 build_app
+ $(eval COVERAGE_TARGETS := $(filter-out coverage,$(MAKECMDGOALS)))
264
+ $(MAKE) COVERAGE=1 $(if $(COVERAGE_TARGETS),$(COVERAGE_TARGETS),build_app)
265
@echo "Running tests..."
266
@if [ ! -f $(BUILD_DIR)/$(BIN).elf ]; then \
267
echo "Error: $(BUILD_DIR)/$(BIN).elf not found. Build failed."; \
0 commit comments