https://gitlab.com/libosinfo/osinfo-db-tools/issues/2

Signed-off-by: Fabiano Fidêncio <[email protected]>
---
 .gitignore        |  1 +
 Makefile.am       |  2 +-
 configure.ac      |  1 +
 tests/Makefile.am | 16 ++++++++++++++++
 4 files changed, 19 insertions(+), 1 deletion(-)
 create mode 100644 tests/Makefile.am

diff --git a/.gitignore b/.gitignore
index 8b375de..8981135 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,6 +31,7 @@ m4
 stamp-h1
 *.spec
 build/
+tests/*.log
 tools/osinfo-db-validate
 tools/osinfo-db-validate.exe
 tools/osinfo-db-validate.1
diff --git a/Makefile.am b/Makefile.am
index 37e6b60..8c81f5a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
 
-SUBDIRS = tools docs po
+SUBDIRS = tools docs po tests
 
 EXTRA_DIST = \
   osinfo-db-tools.spec \
diff --git a/configure.ac b/configure.ac
index 753a5c7..d87f86c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,6 +60,7 @@ AC_CONFIG_FILES([
        mingw-osinfo-db-tools.spec
        tools/Makefile
        docs/Makefile
+       tests/Makefile
        po/Makefile.in
 ])
 AC_OUTPUT
diff --git a/tests/Makefile.am b/tests/Makefile.am
new file mode 100644
index 0000000..5108cb3
--- /dev/null
+++ b/tests/Makefile.am
@@ -0,0 +1,16 @@
+EXTRA_DIST = data
+
+test_helpers = \
+       $(NULL)
+
+test_programs = \
+       $(NULL)
+
+EXTRA_DIST += \
+       $(test_helpers) \
+       $(test_programs) \
+       $(NULL)
+
+TESTS = \
+       $(test_programs) \
+       $(NULL)
-- 
2.21.0

_______________________________________________
Libosinfo mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libosinfo

Reply via email to