1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-09-10 22:28:53 +00:00

travis: code coverage, maybe?

This commit is contained in:
Colin Dellow
2018-07-05 18:47:33 -04:00
parent e3c6bad9f5
commit 68ecfde4d9
4 changed files with 13 additions and 4 deletions

View File

@@ -95,7 +95,13 @@ main() {
if [ -v PREBUILT ]; then
fetch_prebuilt_libs
fi
make ${lib_locs[@]-} "$@"
optimizations="-O3"
if [ -v COVERAGE ]; then
optimizations="-fprofile-arcs -ftest-coverage"
fi
make ${lib_locs[@]-} "$@" OPTIMIZATIONS="$optimizations"
}
main "$@"