Allow make to fail if missing modules for test dependencies
e.g. make STRICT_TESTS=1 However we don't need this in .travis.yml as explained in the comments.
This commit is contained in:
parent
651f1e6503
commit
ba243c0a61
2 changed files with 6 additions and 1 deletions
|
@ -15,7 +15,9 @@ before_install:
|
||||||
install:
|
install:
|
||||||
- autoreconf --install
|
- autoreconf --install
|
||||||
- eval `perl -V:siteprefix`
|
- eval `perl -V:siteprefix`
|
||||||
|
# Note: this will complain Test::Output isn't yet installed:
|
||||||
- ./configure --prefix=$siteprefix && make
|
- ./configure --prefix=$siteprefix && make
|
||||||
|
# but that's OK because we install it here:
|
||||||
- make cpanm
|
- make cpanm
|
||||||
script:
|
script:
|
||||||
- make distcheck
|
- make distcheck
|
||||||
|
|
|
@ -99,9 +99,12 @@ EOF
|
||||||
!
|
!
|
||||||
! Please (re-)read INSTALL, then install the missing modules
|
! Please (re-)read INSTALL, then install the missing modules
|
||||||
! and try again.
|
! and try again.
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
if test -n "$STRICT_TESTS"; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
]])
|
]])
|
||||||
AC_SUBST([PMDIR])
|
AC_SUBST([PMDIR])
|
||||||
|
|
Loading…
Reference in a new issue