diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile index 94c9d4e78cf3..f6141a086f63 100644 --- a/shells/bash-completion/Makefile +++ b/shells/bash-completion/Makefile @@ -15,6 +15,9 @@ LICENSE= GPLv2+ BROKEN_armv6= fails to build: gmake: install-recursive: Error 1 BROKEN_armv7= fails to build: gmake: install-recursive: Error 1 +TEST_DEPENDS= runtest:misc/dejagnu \ + ${LOCALBASE}/lib/tcllib/cmdline/cmdline.tcl:devel/tcllib + PORTSCOUT= limit:^[0-9\.]*$$ OPTIONS_DEFINE= CMAKE_MODULES DOCS FREEBSD @@ -70,4 +73,9 @@ post-install-DOCS-on: post-install-FREEBSD-on: cd ${WRKSRC}/freebsd/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} +do-test: +.for test in runCompletion runInstall runUnit + -cd ${WRKSRC}/test && bash ${test} +.endfor + .include