Add more tests to cover new integrity checks

This commit is contained in:
2025-07-02 11:47:52 +02:00
parent 2fe31ee453
commit b9cab7f61c
5 changed files with 130 additions and 19 deletions

View File

@@ -28,11 +28,7 @@ install: ## Install the project
test: ## Build Debug version and run tests
@echo ">>> Building Debug version and running tests..."
@if [ ! -d $(f_debug) ]; then \
$(MAKE) debug; \
else \
echo ">>> Debug build already exists, skipping build."; \
fi
@$(MAKE) debug;
@cp -r tests/datasets $(f_debug)/tests/datasets
@cd $(f_debug)/tests && ctest --output-on-failure -j 8
@cd $(f_debug)/tests && $(lcov) --capture --directory ../ --demangle-cpp --ignore-errors source,source --ignore-errors mismatch --output-file coverage.info >/dev/null 2>&1; \