[Libosinfo] [osinfo-db PATCH 2/2] readme: Add "Testing" section

Fabiano Fidêncio fidencio at redhat.com
Mon Apr 8 13:01:38 UTC 2019


Add info about testing osinfo-db, including how to run the network based
tests.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 README | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/README b/README
index b59a0ab..3a836c5 100644
--- a/README
+++ b/README
@@ -50,4 +50,18 @@ homepage
 
    https://libosinfo.org/
 
+Testing
+=======
+
+In order to test osinfo-db, you should run:
+
+    $ make check
+
+For a more complete test run, including testing the validity of the URLs
+present in osinfo-db, you should export the OSINFO_DB_NETWORK_TESTS environment
+variable to the build system. For example:
+
+    $ export OSINFO_DB_NETWORK_TESTS=1
+    $ make check
+
 --End
-- 
2.20.1




More information about the Libosinfo mailing list