[Skiboot] [PATCH 0/6] gcov for gard/pflash

Stewart Smith stewart at linux.vnet.ibm.com
Mon Jul 17 19:13:54 AEST 2017


This series fixes up gard and pflash so that we can build
with extra warnings and get code coverage out of the
skiboot coverage-report target.

There's also a bit of a hack to not end up with:
libflash, external/gard/libflasd and external/pflash/libflash.

Stewart Smith (6):
  pflash: build with skiboot HOSTCFLAGS warnings
  pflash: include ccan/list/list.c to be able to build -DDEBUG
  gard: enable building with skiboot HOSTCFLAGS warnings
  gard: enable building with -DDEBUG for ccan list
  Makefile: gard/pflash targets for CI build with
    HOSTCFLAGS/HOSTGCOVFLAGS
  gcov: properly handle gard and pflash code coverage

 Makefile.main                       | 20 +++++++++++++++++---
 external/common/arch_flash_common.c | 12 +++++++++---
 external/common/arch_flash_x86.c    |  1 +
 external/gard/gard.c                | 22 +++++++++++++++++++++-
 external/gard/rules.mk              |  9 ++++++++-
 external/gard/test/Makefile.check   |  8 +++++++-
 external/pflash/pflash.c            |  2 +-
 external/pflash/progress.c          |  1 +
 external/pflash/rules.mk            | 10 +++++++++-
 libflash/file.c                     |  1 +
 10 files changed, 75 insertions(+), 11 deletions(-)

-- 
2.7.4



More information about the Skiboot mailing list