[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libosinfo] [osinfo-db PATCH 0/4] RFC: Add basic tests for osinfo-db

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

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]