import cunit:
CUnit is a lightweight system for writing, administering, and running unit tests in C. It provides C programmers a basic testing functionality with a flexible variety of user interfaces. It uses a simple framework for building test structures, and provides a rich set of assertions for testing common data types. In addition, several different interfaces are provided for running tests and reporting results. from maintainer Markus Bergkvist, thanks!
This commit is contained in:
parent
b1d1bd7bab
commit
24940f25ef
30
devel/cunit/Makefile
Normal file
30
devel/cunit/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/08/29 09:18:39 sthen Exp $
|
||||
|
||||
COMMENT = c unit testing framework
|
||||
|
||||
VER = 2.1-0
|
||||
DISTNAME = CUnit-${VER}
|
||||
PKGNAME = cunit-${VER:S/-/./}
|
||||
|
||||
SHARED_LIBS = cunit 0.0
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = http://cunit.sourceforge.net/
|
||||
|
||||
MAINTAINER = Markus Bergkvist <markus.bergkvist@telia.com>
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cunit/}
|
||||
EXTRACT_SUFX = -src.tar.gz
|
||||
|
||||
USE_LIBTOOL = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS += --enable-curses
|
||||
|
||||
.include <bsd.port.mk>
|
5
devel/cunit/distinfo
Normal file
5
devel/cunit/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (CUnit-2.1-0-src.tar.gz) = 9PU9LEHpMVqRtPFKFwb+Tw==
|
||||
RMD160 (CUnit-2.1-0-src.tar.gz) = 2z6OoilPqugwG1lxZPB/5ILod7U=
|
||||
SHA1 (CUnit-2.1-0-src.tar.gz) = BZIMHe/aNSfO47yC+56t9Fxep6E=
|
||||
SHA256 (CUnit-2.1-0-src.tar.gz) = tfwKsPA+jSh6P2WTXH42+r/c2fkm7m9QrGIepqtvqMY=
|
||||
SIZE (CUnit-2.1-0-src.tar.gz) = 628767
|
12
devel/cunit/patches/patch-doc_Makefile_in
Normal file
12
devel/cunit/patches/patch-doc_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-doc_Makefile_in,v 1.1.1.1 2008/08/29 09:18:39 sthen Exp $
|
||||
--- doc/Makefile.in.orig Wed Jun 25 12:19:22 2008
|
||||
+++ doc/Makefile.in Wed Jun 25 12:22:27 2008
|
||||
@@ -192,7 +192,7 @@ sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
-docdir = $(prefix)/doc/@PACKAGE@
|
||||
+docdir = $(prefix)/share/doc/@PACKAGE@
|
||||
doc_DATA = \
|
||||
CUnit_doc.css \
|
||||
error_handling.html \
|
12
devel/cunit/patches/patch-doc_headers_Makefile_in
Normal file
12
devel/cunit/patches/patch-doc_headers_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-doc_headers_Makefile_in,v 1.1.1.1 2008/08/29 09:18:39 sthen Exp $
|
||||
--- doc/headers/Makefile.in.orig Wed Jun 25 12:20:20 2008
|
||||
+++ doc/headers/Makefile.in Wed Jun 25 12:22:48 2008
|
||||
@@ -183,7 +183,7 @@ sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
-dochdrdir = $(prefix)/doc/@PACKAGE@/headers
|
||||
+dochdrdir = $(prefix)/share/doc/@PACKAGE@/headers
|
||||
INCLUDE_FILES = \
|
||||
Automated.h \
|
||||
Basic.h \
|
7
devel/cunit/pkg/DESCR
Normal file
7
devel/cunit/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
CUnit is a lightweight system for writing, administering, and running
|
||||
unit tests in C. It provides C programmers a basic testing
|
||||
functionality with a flexible variety of user interfaces. It uses a
|
||||
simple framework for building test structures, and provides a rich set
|
||||
of assertions for testing common data types. In addition, several
|
||||
different interfaces are provided for running tests and reporting
|
||||
results.
|
2
devel/cunit/pkg/PFRAG.shared
Normal file
2
devel/cunit/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/08/29 09:18:39 sthen Exp $
|
||||
@lib lib/libcunit.so.${LIBcunit_VERSION}
|
45
devel/cunit/pkg/PLIST
Normal file
45
devel/cunit/pkg/PLIST
Normal file
@ -0,0 +1,45 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/08/29 09:18:39 sthen Exp $
|
||||
%%SHARED%%
|
||||
include/CUnit/
|
||||
include/CUnit/Automated.h
|
||||
include/CUnit/Basic.h
|
||||
include/CUnit/CUCurses.h
|
||||
include/CUnit/CUError.h
|
||||
include/CUnit/CUnit.h
|
||||
include/CUnit/Console.h
|
||||
include/CUnit/MyMem.h
|
||||
include/CUnit/TestDB.h
|
||||
include/CUnit/TestRun.h
|
||||
include/CUnit/Util.h
|
||||
lib/libcunit.a
|
||||
lib/libcunit.la
|
||||
@man man/man3/CUnit.3
|
||||
share/CUnit/
|
||||
share/CUnit/CUnit-List.dtd
|
||||
share/CUnit/CUnit-List.xsl
|
||||
share/CUnit/CUnit-Run.dtd
|
||||
share/CUnit/CUnit-Run.xsl
|
||||
share/CUnit/Memory-Dump.dtd
|
||||
share/CUnit/Memory-Dump.xsl
|
||||
share/doc/CUnit/
|
||||
share/doc/CUnit/CUnit_doc.css
|
||||
share/doc/CUnit/error_handling.html
|
||||
share/doc/CUnit/fdl.html
|
||||
share/doc/CUnit/headers/
|
||||
share/doc/CUnit/headers/Automated.h
|
||||
share/doc/CUnit/headers/Basic.h
|
||||
share/doc/CUnit/headers/CUCurses.h
|
||||
share/doc/CUnit/headers/CUError.h
|
||||
share/doc/CUnit/headers/CUnit.h
|
||||
share/doc/CUnit/headers/Console.h
|
||||
share/doc/CUnit/headers/MyMem.h
|
||||
share/doc/CUnit/headers/TestDB.h
|
||||
share/doc/CUnit/headers/TestRun.h
|
||||
share/doc/CUnit/headers/Util.h
|
||||
share/doc/CUnit/headers/Win.h
|
||||
share/doc/CUnit/index.html
|
||||
share/doc/CUnit/introduction.html
|
||||
share/doc/CUnit/managing_tests.html
|
||||
share/doc/CUnit/running_tests.html
|
||||
share/doc/CUnit/test_registry.html
|
||||
share/doc/CUnit/writing_tests.html
|
Loading…
Reference in New Issue
Block a user