summaryrefslogtreecommitdiff
path: root/daemon.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-01-12 16:37:45 +0100
committerLudovic Courtès <ludo@gnu.org>2016-01-12 17:47:36 +0100
commitbb251307642242bb9174e9c4d89909ca40926d67 (patch)
treeecc5106bdecbc4534d957c82165ae19f797fcc91 /daemon.am
parent27ab3cee754d89135083b778a00675d9a2d00415 (diff)
build: 'make check' errors out if file name limits would be hit.
* Makefile.am (SCM_TESTS, SH_TESTS, TESTS, AM_TESTS_ENVIRONMENT) (SCM_LOG_COMPILER, SH_LOG_COMPILER, AM_SCM_LOG_FLAGS) (AM_SH_LOG_FLAGS): Move within 'if CAN_RUN_TESTS'. (check-local) [!CAN_RUN_TESTS]: New target. * daemon.am (AM_TESTS_ENVIRONMENT, TESTS): Ditto. * m4/guix.m4 (GUIX_CHECK_FILE_NAME_LIMITS): Add parameter and set it.
Diffstat (limited to 'daemon.am')
-rw-r--r--daemon.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/daemon.am b/daemon.am
index 324164359c5..ba4be50068b 100644
--- a/daemon.am
+++ b/daemon.am
@@ -1,5 +1,5 @@
1# GNU Guix --- Functional package management for GNU 1# GNU Guix --- Functional package management for GNU
2# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org> 2# Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
3# 3#
4# This file is part of GNU Guix. 4# This file is part of GNU Guix.
5# 5#
@@ -208,12 +208,16 @@ EXTRA_DIST += \
208 etc/guix-daemon.service.in \ 208 etc/guix-daemon.service.in \
209 etc/guix-daemon.conf.in 209 etc/guix-daemon.conf.in
210 210
211if CAN_RUN_TESTS
212
211AM_TESTS_ENVIRONMENT += \ 213AM_TESTS_ENVIRONMENT += \
212 top_builddir="$(abs_top_builddir)" 214 top_builddir="$(abs_top_builddir)"
213 215
214TESTS += \ 216TESTS += \
215 tests/guix-daemon.sh 217 tests/guix-daemon.sh
216 218
219endif CAN_RUN_TESTS
220
217clean-local: 221clean-local:
218 -if test -d "$(GUIX_TEST_ROOT)"; then \ 222 -if test -d "$(GUIX_TEST_ROOT)"; then \
219 find "$(GUIX_TEST_ROOT)" | xargs chmod +w; \ 223 find "$(GUIX_TEST_ROOT)" | xargs chmod +w; \