Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2021 00:33:43 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 05e7ba99b237 - main - cad/opentimer: Change the 'test' target to run official tests, move the previous tests to 'quick-test'
Message-ID:  <202109130033.18D0XhRf013451@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05e7ba99b237570336dd7a49f5ce98b00bb22e97

commit 05e7ba99b237570336dd7a49f5ce98b00bb22e97
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-09-13 00:24:01 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-09-13 00:24:01 +0000

    cad/opentimer: Change the 'test' target to run official tests, move the previous tests to 'quick-test'
---
 cad/opentimer/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/cad/opentimer/Makefile b/cad/opentimer/Makefile
index 00abe79cf029..c18a4399f4b0 100644
--- a/cad/opentimer/Makefile
+++ b/cad/opentimer/Makefile
@@ -8,14 +8,18 @@ COMMENT=	High-performance timing analysis tool for VLSI systems
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++17-lang tcl
+USES=		cmake compiler:c++17-lang python:test shebangfix tcl
 USE_GCC=	yes # fails to build with clang-11: https://github.com/OpenTimer/OpenTimer/issues/48
 
+SHEBANG_FILES=	inttest/*.py
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	OpenTimer
 GH_PROJECT=	OpenTimer
 GH_TAGNAME=	18d28ff
 
+TEST_TARGET=	test
+
 PLIST_FILES=	bin/ot-shell \
 		bin/ot-tau15 \
 		bin/ot-tau18 \
@@ -26,7 +30,7 @@ do-install: # see https://github.com/OpenTimer/OpenTimer/issues/47
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/${e} ${STAGEDIR}${PREFIX}/bin
 .endfor
 
-do-test: # runs the script suggested in https://github.com/OpenTimer/OpenTimer
+quick-test: # runs the script suggested in https://github.com/OpenTimer/OpenTimer
 	@cd ${WRKSRC} && \
 		bin/ot-shell < ${FILESDIR}/test.txt
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109130033.18D0XhRf013451>