ports/59280: New port: libcheck -- unit test framework for C

Mike Heffner mikeh at FreeBSD.org
Fri Nov 14 07:30:26 UTC 2003


>Number:         59280
>Category:       ports
>Synopsis:       New port: libcheck -- unit test framework for C
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 13 23:30:23 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mike Heffner
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: N/A


	
>Description:

	libcheck is a unit test framework for C. See check.sf.net for
	more info.
	
>How-To-Repeat:
	
>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libcheck
#	libcheck/files
#	libcheck/distinfo
#	libcheck/Makefile
#	libcheck/pkg-descr
#	libcheck/pkg-plist
#
echo c - libcheck
mkdir -p libcheck > /dev/null 2>&1
echo c - libcheck/files
mkdir -p libcheck/files > /dev/null 2>&1
echo x - libcheck/distinfo
sed 's/^X//' >libcheck/distinfo << 'END-of-libcheck/distinfo'
XMD5 (check-0.8.4.tar.gz) = 2869c0fb14b9e277931dbe3df22de1ab
END-of-libcheck/distinfo
echo x - libcheck/Makefile
sed 's/^X//' >libcheck/Makefile << 'END-of-libcheck/Makefile'
X# New ports collection makefile for:	libcheck
X# Date created:
X# Whom:
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libcheck
XPORTVERSION=	0.8.4
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	check
XDISTNAME=	check-${PORTVERSION}
X
XMAINTAINER=	mikeh at FreeBSD.org
XCOMMENT=	A unit test framework for C
X
XGNU_CONFIGURE=	yes
X
X.include <bsd.port.mk>
END-of-libcheck/Makefile
echo x - libcheck/pkg-descr
sed 's/^X//' >libcheck/pkg-descr << 'END-of-libcheck/pkg-descr'
XCheck is a unit test framework for C. It features a simple interface
Xfor defining unit tests, putting little in the way of the
Xdeveloper. Tests are run in a separate address space, so Check can
Xcatch both assertion failures and code errors that cause segmentation
Xfaults or other signals. The output from unit tests can be used within
Xsource code editors and IDEs.
X
XCheck was inspired by similar frameworks that currently exist for most
Xprogramming languages; the most famous example being JUnit for Java
X(www.junit.org). There is a list of unit test frameworks for multiple
Xlanguages at www.xprogramming.com/software.htm . Unit testing has a
Xlong history as part of formal quality assurance methodologies, but
Xhas recently been associated with the lightweight methodology called
XExtreme Programming. In that methodology, the characteristic practice
Xinvolves interspersing unit test writing with coding (" test a little,
Xcode a little"). While the incremental unit test/code approach is
Xindispensable to Extreme Programming, it is also applicable, and
Xperhaps indispensable, outside of that methodology.
X
X
XWWW: http://check.sourceforge.net
X
X- Mike
Xmikeh at FreeBSD.org
END-of-libcheck/pkg-descr
echo x - libcheck/pkg-plist
sed 's/^X//' >libcheck/pkg-plist << 'END-of-libcheck/pkg-plist'
Xinclude/check.h
Xlib/libcheck.a
Xshare/aclocal/check.m4
Xshare/doc/check-0.8.4/COPYING
Xshare/doc/check-0.8.4/ChangeLog
Xshare/doc/check-0.8.4/ChangeLogOld
Xshare/doc/check-0.8.4/NEWS
Xshare/doc/check-0.8.4/README
Xshare/doc/check-0.8.4/examples/Makefile.am.money
Xshare/doc/check-0.8.4/examples/check_money.c
Xshare/doc/check-0.8.4/examples/configure.in.money
Xshare/doc/check-0.8.4/examples/money.c
Xshare/doc/check-0.8.4/examples/money.h
Xshare/doc/check-0.8.4/tutorial.lyx
X at dirrm share/doc/check-0.8.4/examples
X at dirrm share/doc/check-0.8.4
END-of-libcheck/pkg-plist
exit


	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list