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

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


Add info about testing osinfo-db-tools, 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 c5516da..55e0cfe 100644
--- a/README
+++ b/README
@@ -42,4 +42,18 @@ homepage
 
    https://libosinfo.org/
 
+Testing
+=======
+
+In order to test osinfo-db-tools, you should run:
+
+    $ make check
+
+For a more complete test run, including testing command-line options that
+depend on network, you should export the OSINFO_DB_TOOLS_NETWORK_TESTS
+environment variable to the build system. For example:
+
+    $ export OSINFO_DB_TOOLS_NETWORK_TESTS=1
+    $ make check
+
 --End
-- 
2.20.1




More information about the Libosinfo mailing list