Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
69d39e6d
Commit
69d39e6d
authored
Feb 16, 2015
by
Maxime Perrotin
Browse files
Add gcov to the test suite
parent
f4e69d15
Changes
3
Hide whitespace changes
Inline
Side-by-side
tests/regression/shared.mk
View file @
69d39e6d
...
...
@@ -4,7 +4,7 @@ CC=gcc
LLC
=
llc
GNATMAKE
=
gnatmake
GNATBIND
=
gnatbind
GNATLINK
=
gnatlink
GNATLINK
=
gnatlink
-lgcov
-coverage
O
=
0
clean
:
...
...
@@ -21,7 +21,7 @@ clean:
%.ali
:
%.pr FORCE
$(OPENGEODE)
$<
system_structure.pr
--toAda
$(ASN1SCC)
-Ada
dataview-uniq.asn
-typePrefix
asn1Scc
-equal
$(GNATMAKE)
-O
$(O)
-gnat2012
-c
-g
*
.adb
$(GNATMAKE)
-O
$(O)
-gnat2012
-c
-g
-fprofile-arcs
-ftest-coverage
*
.adb
%.o
:
%.asn FORCE
$(ASN1SCC)
-c
$<
-typePrefix
asn1Scc
-equal
...
...
tests/regression/test1/Makefile
View file @
69d39e6d
...
...
@@ -12,6 +12,7 @@ test-ada: og.ali dataview-uniq.o | test_ada.o
$(GNATBIND)
-n
og.ali
$(GNATLINK)
-o
test_ada test_ada.o og.ali
-lgnat
./test_ada
gcov og.adb
test-llvm
:
og.o dataview-uniq.o | test_llvm.o
...
...
tests/regression/test2/Makefile
View file @
69d39e6d
...
...
@@ -12,6 +12,7 @@ test-ada: orchestrator.ali dataview-uniq.o | test_ada.o
$(GNATBIND)
-n
orchestrator.ali
$(GNATLINK)
-o
test_ada test_ada.o orchestrator.ali
-lgnat
./test_ada
gcov orchestrator.adb
test-llvm
:
orchestrator.o
...
...
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