pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-nihtest



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Jun  9 21:06:04 UTC 2023

Modified Files:
        pkgsrc/devel/py-nihtest: Makefile

Log Message:
py-nihtest: add test target


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-nihtest/Makefile

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

Modified files:

Index: pkgsrc/devel/py-nihtest/Makefile
diff -u pkgsrc/devel/py-nihtest/Makefile:1.1 pkgsrc/devel/py-nihtest/Makefile:1.2
--- pkgsrc/devel/py-nihtest/Makefile:1.1        Fri Jun  9 15:57:32 2023
+++ pkgsrc/devel/py-nihtest/Makefile    Fri Jun  9 21:06:04 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/06/09 15:57:32 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2023/06/09 21:06:04 wiz Exp $
 
 DISTNAME=      nihtest-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,5 +16,9 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-wheel-[0-9
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} nihtest nihtest-${PYVERSSUFFIX} || ${TRUE}
 
+do-test:
+       ${MKDIR} ${WRKSRC}/build
+       cd ${WRKSRC}/build && cmake .. && ${MAKE} && ctest
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index