path: root/legacy/elementary/
diff options
authorStefan Schmidt <>2016-03-02 09:07:41 +0100
committerStefan Schmidt <>2016-03-02 09:13:19 +0100
commit098a7be9414efa12435d72e56e0bac4652b00996 (patch)
tree294825373f4a672f086b0241ce68b193ac0e8a8a /legacy/elementary/
parent445ba5a638bcd4eb1b25cd8f267783bda6a16914 (diff)
build: fix problems with coverage check build where some files are not found
Switch to use a lcov config file which geninfo_auto_base and remove hard coding the base dir to src/lib. geninfo_auto_base is designed for a use case like ours where we have several base dirs (lib, bin, tests, ...) and it detects them automatically. This fixes failures in a coverage run like this: genhtml: ERROR: cannot read /srv/build/workspace/manual_elm_gcc_x86_64_exactness_coverage/src/lib/test_win_state.c Where the file is simply looked for in the wrong directory.
Diffstat (limited to 'legacy/elementary/')
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elementary/ b/legacy/elementary/
index 3ab56f4d1f..3340622999 100644
--- a/legacy/elementary/
+++ b/legacy/elementary/
@@ -134,7 +134,7 @@ lcov-reset:
134 134
135lcov-report: 135lcov-report:
136 @mkdir $(top_builddir)/coverage 136 @mkdir $(top_builddir)/coverage
137 lcov --capture --compat-libtool --no-external --output-file $(top_builddir)/coverage/ --directory $(top_builddir) --base-directory $(top_srcdir)/src/lib/ 137 lcov --capture --compat-libtool --no-external --config-file .lcov-config --output-file $(top_builddir)/coverage/ --directory $(top_builddir)
138 lcov --remove $(top_builddir)/coverage/ '*.h' --output-file $(top_builddir)/coverage/ 138 lcov --remove $(top_builddir)/coverage/ '*.h' --output-file $(top_builddir)/coverage/
139 lcov --remove $(top_builddir)/coverage/ '*/elm_test_*' --output-file $(top_builddir)/coverage/ 139 lcov --remove $(top_builddir)/coverage/ '*/elm_test_*' --output-file $(top_builddir)/coverage/
140 lcov --remove $(top_builddir)/coverage/ '*/elm_suite.c' --output-file $(top_builddir)/coverage/ 140 lcov --remove $(top_builddir)/coverage/ '*/elm_suite.c' --output-file $(top_builddir)/coverage/