Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
4242fda2
Commit
4242fda2
authored
Jun 26, 2018
by
Mikaël Salson
Browse files
algo/Makefile: --coverage option passed through OPTIM
parent
a19683f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/Makefile
View file @
4242fda2
...
...
@@ -125,10 +125,10 @@ $(VIDJIL): $(BINDIR)%: $(MAIN).o $(LIBCORE)
###
core/%.a
:
FORCE
$(MAKE)
-C
core
$(
notdir
$@
)
$(MAKE)
-C
core
OPTIM
=
"
$(OPTIM)
"
$(
notdir
$@
)
lib/%.a
:
FORCE
$(MAKE)
-C
lib
$(
notdir
$@
)
$(MAKE)
-C
lib
OPTIM
=
"
$(OPTIM)
"
$(
notdir
$@
)
clean
:
$(MAKE)
-C
core
$@
...
...
@@ -151,7 +151,7 @@ cleanall: cleancoverage
test
:
$(MAKE)
-C
tests cleantests
$(TEE)
'
$(MAKE)
COVERAGE="
$(COVERAGE
)
" unit'
tests/out-unit.log
$(TEE)
'
$(MAKE)
OPTIM="
$(OPTIM
)
" unit'
tests/out-unit.log
$(MAKE)
functional
@
echo
@
echo
"*** All tests passed. Congratulations !"
...
...
@@ -167,7 +167,7 @@ snapshot_diff_current:
unit
:
all
@
echo
"*** Launching unit tests..."
$(MAKE)
COVERAGE
=
"
$(COVERAGE_
OPTI
ON
)
"
-C
tests
$(MAKE)
OPTIM
=
"
$(
OPTI
M
)
"
-C
tests
@
echo
"*** All unit tests passed"
functional
:
all
...
...
@@ -177,12 +177,12 @@ functional: all
should
:
all
@
echo
@
echo
"*** Launching .should_get tests..."
$(MAKE)
COVERAGE
=
"
$(COVERAGE_
OPTI
ON
)
"
-C
tests should
$(MAKE)
OPTIM
=
"
$(
OPTI
M
)
"
-C
tests should
@
echo
"*** All .should_get tests passed"
shouldvdj
:
all
@
echo
$(MAKE)
COVERAGE
=
"
$(COVERAGE_
OPTI
ON
)
"
-C
tests shouldvdj_if_python
$(MAKE)
OPTIM
=
"
$(
OPTI
M
)
"
-C
tests shouldvdj_if_python
valgrind_unit
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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