Date: Fri, 1 Jun 2018 08:34:21 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471251 - head/x11-toolkits/tk86 Message-ID: <201806010834.w518YLpw071143@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Jun 1 08:34:21 2018 New Revision: 471251 URL: https://svnweb.freebsd.org/changeset/ports/471251 Log: - Switch to new test framework Approved by: portmgr blanket Modified: head/x11-toolkits/tk86/Makefile Modified: head/x11-toolkits/tk86/Makefile ============================================================================== --- head/x11-toolkits/tk86/Makefile Fri Jun 1 06:49:01 2018 (r471250) +++ head/x11-toolkits/tk86/Makefile Fri Jun 1 08:34:21 2018 (r471251) @@ -31,6 +31,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix ALL_TARGET= all INSTALL_TARGET= install-strip +TEST_TARGET= test USES+= tcl:${SHORT_TK_VER},tea USE_LDCONFIG= yes @@ -68,8 +69,7 @@ post-patch: ${REINPLACE_CMD} -e '/^Requires/s|tcl|tcl${SHORT_TK_VER}|' \ ${WRKSRC}/tk.pc.in -regression-test: build - cd ${WRKSRC}; ${MAKE} test +post-test: ${ECHO_CMD} "package require Tk" | tclsh${TK_VER} ${ECHO_CMD} "load libtk${SHORT_TK_VER}.so" | tclsh${TK_VER}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806010834.w518YLpw071143>