Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
canbus
CTU CAN FD IP Core
Commits
dbaf72c2
Commit
dbaf72c2
authored
Jan 27, 2019
by
Ille, Ondrej, Ing.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: modify makefile to handle multiple psl output files.
parent
315fb337
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
test/Makefile
test/Makefile
+6
-4
No files found.
test/Makefile
View file @
dbaf72c2
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)
run.py
test
$
(
TEST_OPTS_
$@
)
$<
--
$(TEST_FLAGS)
coverage
:
lcov
--capture
--directory
build
--output-file
code_coverage.info
lcov
--capture
--directory
$(BUILD_DIR)
--output-file
code_coverage.info
genhtml code_coverage.info
--output-directory
code_html
functional_coverage
:
mkdir
-p
build
/functional_coverage
cp
build
/psl_cov
erage
.json
build
/functional_coverage
/psl_coverage.json
$(PYTHON)
testfw
/test_parse_psl_coverage.py
mkdir
-p
$(BUILD_DIR)
/functional_coverage
cp
$(BUILD_DIR)
/psl_cov
_
*
.json
$(BUILD_DIR)
/functional_coverage
$(PYTHON)
$(TESTFW_DIR)
/test_parse_psl_coverage.py
clean
:
-
rm
-Rf
build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment