pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

attr: add test support



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Sat Jan 13 20:34:56 2024 +0100
Changeset:	5cbd958a4c1a70f58f4562465b3550c9ce5c5a9d

Modified Files:
	attr/Makefile

Log Message:
attr: add test support

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5cbd958a4c1a70f58f4562465b3550c9ce5c5a9d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 attr/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/attr/Makefile b/attr/Makefile
index 4a4b66ca4e..4c70d232a6 100644
--- a/attr/Makefile
+++ b/attr/Makefile
@@ -11,8 +11,14 @@ COMMENT=	Commands for Manipulating Filesystem Extended Attributes
 LICENSE=	gnu-gpl-v2
 
 GNU_CONFIGURE=		yes
-USE_TOOLS+=		autoconf automake autopoint autoreconf gmake msgfmt
+USE_TOOLS+=		autoconf automake autopoint autoreconf gmake msgfmt perl:test
 USE_LIBTOOL=		yes
+# first test part:
+# 119 commands (88 passed, 31 failed)
+# second test part (only run as root):
+# 30 commands (15 passed, 15 failed)
+TEST_TARGET=		check
+REPLACE_PERL+=		test/run
 
 PKGCONFIG_OVERRIDE+=	libattr.pc.in
 INSTALLATION_DIRS+=	share/examples/attr


Home | Main Index | Thread Index | Old Index