Skip to content

Commit 6204c11

Browse files
author
gdt
committed
sysutils/bup: TEST_DEPEND on py-test-xdist
This enables "gmake -j8 check" to run the (lengthy) bup tests in parallel. It remains to pass -j automatically from MAKE_JOBS, but this dependency enables manual test runs to be parallelized.
1 parent 50e81ab commit 6204c11

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sysutils/bup/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.73 2025/09/13 00:33:37 gdt Exp $
1+
# $NetBSD: Makefile,v 1.74 2025/12/30 17:40:03 gdt Exp $
22

33
DISTNAME= bup-0.33.9
44
PKGREVISION= 1
@@ -43,6 +43,7 @@ DEPENDS+= par2-[0-9]*:../../archivers/par2
4343
DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
4444
DEPENDS+= git-base-[0-9]*:../../devel/git-base
4545
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
46+
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
4647
TEST_DEPENDS+= rsync-[0-9]*:../../net/rsync
4748

4849
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-tornado
@@ -56,6 +57,7 @@ ALL_ENV+= BUP_PYTHON_CONFIG=${LOCALBASE}/bin/python${PYVERSSUFFIX}-config
5657
# Tests fail on netbsd-9 because of non-portable use of script(1)
5758
# introduced in 0.33.9. Reported upstream by email 20250830.
5859
TEST_TARGET= test
60+
# \todo Pass MAKE_JOBS into "gmake test" via -j.
5961
TEST_ENV+= TZ=UTC
6062

6163
# bup's configure is buggy and ends up with a make->make symlink.

0 commit comments

Comments
 (0)