Merge pull request #57 from aspiers/strict-tests
Allow make to fail if missing modules for test dependencies
This commit is contained in:
commit
8acb10e26c
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -102,6 +102,9 @@ EOF
|
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
EOF
|
||||
if test -n "$STRICT_TESTS"; then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
]])
|
||||
AC_SUBST([PMDIR])
|
||||
|
|
Loading…
Reference in a new issue