diff options
author | Adam Spiers <stow@adamspiers.org> | 2019-06-28 20:33:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-28 20:33:30 +0100 |
commit | 8acb10e26cabac844846985e81dc3feefed10785 (patch) | |
tree | bea0c18dfd0dac4e8464b432961e532849a0bb9c | |
parent | 651f1e650300ef96bb84e5417287adda9773550a (diff) | |
parent | ba243c0a610b5060ea5b20826cc643e1c5c97e0a (diff) | |
download | stow-8acb10e26cabac844846985e81dc3feefed10785.tar.gz |
Merge pull request #57 from aspiers/strict-tests
Allow make to fail if missing modules for test dependencies
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | configure.ac | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index f41c75f..cbd4ef6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,9 @@ before_install: install: - autoreconf --install - eval `perl -V:siteprefix` + # Note: this will complain Test::Output isn't yet installed: - ./configure --prefix=$siteprefix && make + # but that's OK because we install it here: - make cpanm script: - make distcheck diff --git a/configure.ac b/configure.ac index d22b1d4..699a88b 100644 --- a/configure.ac +++ b/configure.ac @@ -99,9 +99,12 @@ EOF ! ! Please (re-)read INSTALL, then install the missing modules ! and try again. -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! EOF + if test -n "$STRICT_TESTS"; then + exit 1 + fi fi ]]) AC_SUBST([PMDIR]) |