cad/opentimer: Change the 'test' target to run official tests, move the previous tests to 'quick-test'

This commit is contained in:
Yuri Victorovich 2021-09-12 17:24:01 -07:00
parent 2983be6402
commit 05e7ba99b2

View File

@ -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