[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 03/03: build: Add 'make check'.
From: |
Ludovic Courtès |
Subject: |
[gnunet] 03/03: build: Add 'make check'. |
Date: |
Thu, 05 Nov 2015 16:52:11 +0000 |
civodul pushed a commit to branch master
in repository gnunet.
commit 383eac2aab175d8d9ea5315c2f1c8a5055c76a52
Author: Ludovic Courtès <address@hidden>
Date: Thu Nov 5 17:44:31 2015 +0100
build: Add 'make check'.
* Makefile.am (TESTS, TEST_EXTENSIONS, SCM_LOG_COMPILER): New
variables.
(CLEANFILES): Add the .log files.
---
.gitignore | 3 +++
Makefile.am | 16 +++++++++++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/.gitignore b/.gitignore
index faf7a4b..a8eee17 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,6 @@ Makefile.in
/Makefile
/config.log
/gnu/gnunet/config.scm
+/*.log
+/tests/*.log
+/tests/*.trs
diff --git a/Makefile.am b/Makefile.am
index 5be7334..fb949f7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,7 +30,6 @@ MODULES = \
gnu/gnunet/fs/uri.scm
GOBJECTS = $(MODULES:%.scm=%.go) gnu/gnunet/config.go
-CLEANFILES = $(GOBJECTS)
nobase_dist_guilemodule_DATA = $(MODULES)
nobase_nodist_guilemodule_DATA = $(GOBJECTS)
@@ -69,3 +68,18 @@ SUFFIXES = .go
# for details.
guix_install_go_files = install-nobase_nodist_guilemoduleDATA
$(guix_install_go_files): install-nobase_dist_guilemoduleDATA
+
+TESTS = \
+ tests/binding-utils.scm \
+ tests/configuration.scm \
+ tests/container-metadata.scm \
+ tests/fs.scm \
+ tests/identity.scm \
+ tests/progress-info.scm \
+ tests/system-foreign-unions.scm \
+ tests/uri.scm
+
+TEST_EXTENSIONS = .scm
+SCM_LOG_COMPILER = $(top_builddir)/pre-inst-env $(GUILE)
+
+CLEANFILES = $(GOBJECTS) $(SCM_TESTS:tests/%.scm=%.log)