Commit dbaf72c2 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

test: modify makefile to handle multiple psl output files.

parent 315fb337
PYTHON := python3
XUNIT ?= 0
BUILD_DIR = build
TESTFW_DIR = testfw
TEST_FLAGS = -p`nproc`
TEST_OPTS_test_debug := --no-strict
......@@ -13,13 +15,13 @@ test_%: tests_%.yml FORCE
$(PYTHON) test $(TEST_OPTS_$@) $< -- $(TEST_FLAGS)
lcov --capture --directory build --output-file
lcov --capture --directory $(BUILD_DIR) --output-file
genhtml --output-directory code_html
mkdir -p build/functional_coverage
cp build/psl_coverage.json build/functional_coverage/psl_coverage.json
$(PYTHON) testfw/
mkdir -p $(BUILD_DIR)/functional_coverage
cp $(BUILD_DIR)/psl_cov_*.json $(BUILD_DIR)/functional_coverage
-rm -Rf build
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment