mapbox / wagyu

A general library for geometry operations of union, intersections, difference, and xor
Other
166 stars 33 forks source link

Travis coverage: Avoid overwritting coverage files #93

Closed Algunenano closed 5 years ago

Algunenano commented 5 years ago

After some investigation I think that the issue behind the coverage loss is that the coverage files are being overwritten when several binaries are executed, so only the last is reported.

To avoid this I've added the -l flag:

-l, --long-file-names
For coverage output of files included from the main source file, add the main file name followed by ## as a prefix to the output file names. This can be combined with the –preserve-paths option to use complete paths for both the main file and the included file.

Fixes https://github.com/mapbox/wagyu/issues/90

Algunenano commented 5 years ago

The coverage is at 95% with the patch applied.

I guess hpp-skel should be patched too.