diff mbox series

[v2,2/3] shippable: generate code coverage reports

Message ID 1517418008-29805-3-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v2,1/3] shippable: report test results even if ci step failed | expand

Commit Message

Github ODP bot Jan. 31, 2018, 5 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 441 (lumag:shippable-ci)
 ** https://github.com/Linaro/odp/pull/441
 ** Patch: https://github.com/Linaro/odp/pull/441.patch
 ** Base sha: b95ccd3db6eeb7358a877541747e06354429acdd
 ** Merge commit sha: 211b88e1f213011f9a540affe8d5c6a86e9bfd14
 **/
 .shippable.yml     | 2 +-
 scripts/Dockerfile | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/.shippable.yml b/.shippable.yml
index 35292d983..42786e0dc 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -36,7 +36,7 @@  build:
     - sudo mount -t hugetlbfs nodev /mnt/huge
     - mkdir -p /dev/shm/odp
     - ./bootstrap
-    - ./configure --disable-test-perf
+    - ./configure --disable-test-perf CFLAGS="-O0 -coverage" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage"
     - make
     - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes make check
 
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 7e117971d..012c1a070 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -10,6 +10,7 @@  RUN sudo apt-get update && sudo apt-get install -yy \
   ccache \
   clang-3.8 \
   gcc-4.8 \
+  gcovr \
   graphviz \
   kmod \
   libconfig-dev \