pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/tcpreplay tcpreplay: add test target



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eeddc027020d
branches:  trunk
changeset: 390852:eeddc027020d
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sat Dec 31 11:46:39 2022 +0000

description:
tcpreplay: add test target

diffstat:

 net/tcpreplay/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 29a6b177cfd1 -r eeddc027020d net/tcpreplay/Makefile
--- a/net/tcpreplay/Makefile    Sat Dec 31 11:28:25 2022 +0000
+++ b/net/tcpreplay/Makefile    Sat Dec 31 11:46:39 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2022/12/29 23:29:04 gutteridge Exp $
+# $NetBSD: Makefile,v 1.30 2022/12/31 11:46:39 gutteridge Exp $
 
 DISTNAME=      tcpreplay-4.4.2
 CATEGORIES=    net
@@ -19,5 +19,8 @@
 CONFIGURE_ARGS+=       --enable-dynamic-link
 CONFIGURE_ARGS+=       --with-libpcap=${BUILDLINK_PREFIX.libpcap}
 
+do-test:
+       cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${MAKE} test
+
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index