[Libosinfo] [osinfo-db PATCH 0/4] RFC: Add basic tests for osinfo-db
Fabiano Fidêncio
fidencio at redhat.com
Wed Mar 13 20:44:26 UTC 2019
This series introduces 3 basic tests for osinfo-db that currently are
part of libosinfo.
The tests chosen for this initial work are the test-*.uris. The
short-term plan is to move test-isodetect here as well, removing them
the need of updating libosinfo tests for each new entry added to
osinfo-db.
As osinfo-db doesn't rely on autotools, some hacks have been in the
Makefile in order to keep one log file per test.
Fabiano Fidêncio (4):
Makefile: Split xmllint from check
tests: Add media tests
tests: Add tree tests
tests: Add image tests
.gitignore | 5 ++-
Makefile | 20 ++++++++--
tests/unit/__init__.py | 0
tests/unit/osinfo.py | 81 ++++++++++++++++++++++++++++++++++++++++
tests/unit/test_image.py | 20 ++++++++++
tests/unit/test_media.py | 20 ++++++++++
tests/unit/test_tree.py | 20 ++++++++++
tests/unit/util.py | 37 ++++++++++++++++++
8 files changed, 199 insertions(+), 4 deletions(-)
create mode 100644 tests/unit/__init__.py
create mode 100644 tests/unit/osinfo.py
create mode 100644 tests/unit/test_image.py
create mode 100644 tests/unit/test_media.py
create mode 100644 tests/unit/test_tree.py
create mode 100644 tests/unit/util.py
--
2.20.1
More information about the Libosinfo
mailing list