[Libosinfo] [osinfo-db-tools PATCH 0/2] Dependency check for tests deps

Fabiano Fidêncio fidencio at redhat.com
Tue Apr 9 16:30:26 UTC 2019


As the subject says, this patch set adds a dependency check for our
tests, only executing them when this dependency check is successful.

The dependency check is done in configure.ac and the needed deps have
also been added to our spec file (together with the "check" target).

The checks do not look the cleanest solution ever and I'm open for
suggestions on how to properly handle those deps on configure.ac

Fabiano Fidêncio (2):
  tests: Only run the tests if deps are installed
  spec: Add %check target (and the needed deps)

 configure.ac            | 23 +++++++++++++++++++++++
 osinfo-db-tools.spec.in | 20 ++++++++++++++++++++
 tests/Makefile.am       |  6 +++++-
 3 files changed, 48 insertions(+), 1 deletion(-)

-- 
2.20.1




More information about the Libosinfo mailing list