diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2016-01-12 16:37:45 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2016-01-12 17:47:36 +0100 |
| commit | bb251307642242bb9174e9c4d89909ca40926d67 (patch) | |
| tree | ecc5106bdecbc4534d957c82165ae19f797fcc91 /daemon.am | |
| parent | 27ab3cee754d89135083b778a00675d9a2d00415 (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.am | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -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 | ||
| 211 | if CAN_RUN_TESTS | ||
| 212 | |||
| 211 | AM_TESTS_ENVIRONMENT += \ | 213 | AM_TESTS_ENVIRONMENT += \ |
| 212 | top_builddir="$(abs_top_builddir)" | 214 | top_builddir="$(abs_top_builddir)" |
| 213 | 215 | ||
| 214 | TESTS += \ | 216 | TESTS += \ |
| 215 | tests/guix-daemon.sh | 217 | tests/guix-daemon.sh |
| 216 | 218 | ||
| 219 | endif CAN_RUN_TESTS | ||
| 220 | |||
| 217 | clean-local: | 221 | clean-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; \ |
