git: 6c1bd62c0750 - main - shells/bash-completion: Fix 'make test'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Feb 2026 19:38:24 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6c1bd62c07509145fdcf774c71eb6c9fae92440a
commit 6c1bd62c07509145fdcf774c71eb6c9fae92440a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-02-10 19:36:45 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-02-10 19:36:45 +0000
shells/bash-completion: Fix 'make test'
PR: 292934
Reported by: michaelo
---
shells/bash-completion/Makefile | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile
index e456f723ada0..59a56df0e824 100644
--- a/shells/bash-completion/Makefile
+++ b/shells/bash-completion/Makefile
@@ -12,13 +12,15 @@ WWW= https://github.com/scop/bash-completion
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-TEST_DEPENDS= runtest:misc/dejagnu \
- ${LOCALBASE}/lib/tcllib/cmdline/cmdline.tcl:devel/tcllib
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pexpect>=4:misc/py-pexpect@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0,1:devel/py-pytest-xdist@${PY_FLAVOR}
-USES= autoreconf gmake tar:xz
+USES= autoreconf gmake python:test tar:xz
+USE_PYTHON= pytest
GNU_CONFIGURE= yes
NO_ARCH= yes
+TEST_WRKSRC= ${WRKSRC}/test
SUB_FILES= pkg-message
SUB_LIST= RUNFILE=${DATADIR}/bash_completion.sh
@@ -61,9 +63,4 @@ post-configure:
post-install:
${RM} ${STAGEDIR}${DATADIR}/completions/makepkg
-do-test:
-.for test in runCompletion runInstall runUnit
- -cd ${WRKSRC}/test && bash ${test}
-.endfor
-
.include <bsd.port.mk>