summaryrefslogtreecommitdiff
path: root/devel/check
diff options
context:
space:
mode:
authorcjs <cjs@pkgsrc.org>2002-06-26 07:16:38 +0000
committercjs <cjs@pkgsrc.org>2002-06-26 07:16:38 +0000
commitf28de2b4adcdb7dafe39fa618655c5b636ca1296 (patch)
tree6aace49ababf3ce5a9dc66f28a9ed7f835a1f112 /devel/check
parent57bc1c1e086e1ca784443af8aa1c623a6930429e (diff)
downloadpkgsrc-f28de2b4adcdb7dafe39fa618655c5b636ca1296.tar.gz
Unit test package for the C language.
Diffstat (limited to 'devel/check')
-rw-r--r--devel/check/DESCR18
-rw-r--r--devel/check/Makefile15
-rw-r--r--devel/check/PLIST15
-rw-r--r--devel/check/distinfo4
4 files changed, 52 insertions, 0 deletions
diff --git a/devel/check/DESCR b/devel/check/DESCR
new file mode 100644
index 00000000000..7005dfd1371
--- /dev/null
+++ b/devel/check/DESCR
@@ -0,0 +1,18 @@
+Check is a unit test framework for C. It features a simple interface
+for defining unit tests, putting little in the way of the developer.
+Tests are run in a separate address space, so Check can catch both
+assertion failures and code errors that cause segmentation faults or
+other signals. The output from unit tests can be used within source code
+editors and IDEs.
+
+There is a tutorial introduction to check at
+
+ http://check.sourceforge.net/tutorial.html
+
+This includes a brief comparison of check with other C unit test
+frameworks, such as GNU Autounit, cUnit, and CUnit.
+
+Check was inspired by similar frameworks that currently exist for most
+programming languages; the most famous example being JUnit for Java
+(www.junit.org). There is a list of unit test frameworks for multiple
+languages at www.xprogramming.com/software.htm .
diff --git a/devel/check/Makefile b/devel/check/Makefile
new file mode 100644
index 00000000000..73ece5938b2
--- /dev/null
+++ b/devel/check/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2002/06/26 07:16:38 cjs Exp $
+#
+
+DISTNAME= check-0.8.3
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=check/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://check.sourceforge.net/
+COMMENT= unit test framework for C
+
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS+=--enable-plain-docdir
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/check/PLIST b/devel/check/PLIST
new file mode 100644
index 00000000000..75e9e800d23
--- /dev/null
+++ b/devel/check/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2002/06/26 07:16:39 cjs Exp $
+include/check.h
+lib/libcheck.a
+share/aclocal/check.m4
+share/doc/check/COPYING
+share/doc/check/ChangeLog
+share/doc/check/ChangeLogOld
+share/doc/check/NEWS
+share/doc/check/README
+share/doc/check/examples/Makefile.am.money
+share/doc/check/examples/check_money.c
+share/doc/check/examples/configure.in.money
+share/doc/check/examples/money.c
+share/doc/check/examples/money.h
+share/doc/check/tutorial.lyx
diff --git a/devel/check/distinfo b/devel/check/distinfo
new file mode 100644
index 00000000000..ed0b167d3f0
--- /dev/null
+++ b/devel/check/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1 2002/06/26 07:16:40 cjs Exp $
+
+SHA1 (check-0.8.3.tar.gz) = 714ab5de37c1fdc6bb2c2e5f41980610a7ec477d
+Size (check-0.8.3.tar.gz) = 133191 bytes