You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add coveralls CI with Travis to Heimdal (see also my fork).
cpp-coveralls ends up using the wrong path to generated code files. Eventually I concluded that out-of-source builds are not well supported and modified the .travis.yml (in my fork) accordingly, but still, there's always some file cpp-coveralls cannot find, as you can see in the logs (scroll to the bottom):
Traceback (most recent call last):
File "/home/travis/.local/bin/coveralls", line 11, in <module>
load_entry_point('cpp-coveralls==0.3.12', 'console_scripts', 'coveralls')()
File "/home/travis/.local/lib/python2.7/site-packages/cpp_coveralls/__init__.py", line 96, in run
cov_report = coverage.collect(args)
File "/home/travis/.local/lib/python2.7/site-packages/cpp_coveralls/coverage.py", line 447, in collect
with io.open(source_file_path, mode='rb') as src_file:
IOError: [Errno 2] No such file or directory: '/home/travis/build/nicowilliams/heimdal/intr.c'
EDIT: intr.c is not generated, it is normally actually tests/bin/intr.c. I don't know why or how the dirname of that got lost.
If I use in-tree builds and drop the -r and -b and -x options I still get this:
Traceback (most recent call last):
File "/home/travis/.local/bin/coveralls", line 11, in <module>
load_entry_point('cpp-coveralls==0.3.12', 'console_scripts', 'coveralls')()
File "/home/travis/.local/lib/python2.7/site-packages/cpp_coveralls/__init__.py", line 96, in run
cov_report = coverage.collect(args)
File "/home/travis/.local/lib/python2.7/site-packages/cpp_coveralls/coverage.py", line 447, in collect
with io.open(source_file_path, mode='rb') as src_file:
IOError: [Errno 2] No such file or directory: '/home/travis/build/nicowilliams/heimdal/libtommath/bn_mp_reduce_2k_l.c'
I'm trying to add coveralls CI with Travis to Heimdal (see also my fork).
cpp-coveralls
ends up using the wrong path to generated code files. Eventually I concluded that out-of-source builds are not well supported and modified the.travis.yml
(in my fork) accordingly, but still, there's always some filecpp-coveralls
cannot find, as you can see in the logs (scroll to the bottom):EDIT:
intr.c
is not generated, it is normally actuallytests/bin/intr.c
. I don't know why or how the dirname of that got lost.I'm running
cpp-coveralls
like this:I've tried a variety of... variations. I've tried using
-e
with various forms of the troublesome filenames.The text was updated successfully, but these errors were encountered: