cmdtest black box tests Unix command line tools. Roughly, it is given a command

line and input files, and the expected output, and it verifies that the command
line produces the expected output. If not, it reports a problem, and shows the
differences.

WWW: https://liw.fi/cmdtest/
This commit is contained in:
Baptiste Daroussin 2017-02-06 21:12:38 +00:00
parent b8521a4620
commit 25f51db099
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433521
4 changed files with 39 additions and 0 deletions

View File

@ -4156,6 +4156,7 @@
SUBDIR += py-cluster
SUBDIR += py-cmd2
SUBDIR += py-cmdln
SUBDIR += py-cmdtest
SUBDIR += py-codecov
SUBDIR += py-codegen
SUBDIR += py-cog

29
devel/py-cmdtest/Makefile Normal file
View File

@ -0,0 +1,29 @@
# $FreeBSD$
PORTNAME= cmdtest
PORTVERSION= 0.27
CATEGORIES= devel
MASTER_SITES= http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cmdtest/snapshot/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bapt@FreeBSD.org
COMMENT= Black box testing of Unix programs
LICENSE= GPLv3
LICENSE_FILES= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown \
${PYTHON_PKGNAMEPREFIX}cliapp>0:devel/py-cliapp \
${PYTHON_PKGNAMEPREFIX}ttystatus>0:devel/py-ttystatus
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown \
${PYTHON_PKGNAMEPREFIX}cliapp>0:devel/py-cliapp \
${PYTHON_PKGNAMEPREFIX}ttystatus>0:devel/py-ttystatus
USES= python:2
USE_PYTHON= distutils autoplist
NO_ARCH= yes
post-patch:
${REINPLACE_CMD} -e "s,python,${PYTHON_CMD},g" ${WRKSRC}/setup.py
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1486412977
SHA256 (cmdtest-0.27.tar.gz) = 8e9856403b5e6ed00cefd89b30a31768656d280ea1803513a4ba91b1e7a94c97
SIZE (cmdtest-0.27.tar.gz) = 46752

View File

@ -0,0 +1,6 @@
cmdtest black box tests Unix command line tools. Roughly, it is given a command
line and input files, and the expected output, and it verifies that the command
line produces the expected output. If not, it reports a problem, and shows the
differences.
WWW: https://liw.fi/cmdtest/