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

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

 



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

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux