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:
|
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
|
||||||
|
|
|
@ -102,6 +102,9 @@ EOF
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
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