Port details |
- cunit Automated unit testing framework for C
- 2.1.3_3 devel =3 2.1.3_3Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2007-09-09 05:56:13
- Last Update: 2024-04-13 13:03:19
- Commit Hash: 62ed195
- People watching this port, also watch:: pipe, mcron, dnsutl, p5-RRDTool-OO, py311-Automat
- License: LGPL20
- WWW:
- https://cunit.sourceforge.net/
- Description:
- 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.
CUnit is built as a static library which is linked with the user's testing code.
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. These
interfaces currently include: Automated, Basic, Console and Curses.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/devel/cunit/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/cunit
- pkg install cunit
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: cunit
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (CUnit-2.1-3.tar.bz2) = f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214
SIZE (CUnit-2.1-3.tar.bz2) = 514500
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- autoconf>=2.72 : devel/autoconf
- automake>=1.16.5 : devel/automake
- libtoolize : devel/libtool
- This port is required by:
- for Build
-
- math/nfft
- for Libraries
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for cunit-2.1.3_3:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
- Options name:
- devel_cunit
- USES:
- autoreconf gmake libtool ncurses pathfix tar:bzip2
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.1.3_3 13 Apr 2024 13:03:19 |
Po-Chuan Hsieh (sunpoet) |
*/*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after
9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9 |
2.1.3_3 21 Feb 2024 15:06:21 |
Po-Chuan Hsieh (sunpoet) |
devel/cunit: Update manpage location (003a571d1d6585196545295efc181514f171c4c4,
r523104) |
2.1.3_3 27 Nov 2023 10:30:09 |
Po-Chuan Hsieh (sunpoet) |
devel/cunit: Remove AUTOMATED, BASIC, CONSOLE, CURSES, DEBUG, MEMTRACE and TEST
options
PR: 275076
Reported by: amdmi3 |
2.1.3_3 06 Nov 2023 10:03:47 |
Rodrigo Osorio (rodrigo) |
*/*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems
Approved by: portmgr (blanket)
PR: 274888 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.1.3_3 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.1.3_3 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
2.1.3_3 30 Mar 2022 22:02:44 |
Po-Chuan Hsieh (sunpoet) |
devel/cunit: Cosmetic change |
2.1.3_3 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.1.3_3 08 Oct 2017 13:49:02 |
sunpoet |
Change PORTDATA=*, PORTDOCS=* and PORTEXAMPLES=* to PLIST entries |
2.1.3_3 29 May 2017 15:26:38 |
sunpoet |
Add LICENSE_FILE
- Use CONFLICTS_INSTALL instead of CONFLICTS |
2.1.3_3 21 Oct 2016 15:21:13 |
mat |
Use USES=pathfix where applicable.
PR: 213195
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D8093 |
2.1.3_3 07 Feb 2016 18:26:54 |
marino |
devel/cunit: link with ncurses, not curses (part of ncurses work)
approved by: infrastructure blanket |
2.1.3_3 03 Oct 2015 17:06:57 |
sunpoet |
- Convert to new test framework |
2.1.3_3 21 Apr 2015 18:39:51 |
sunpoet |
- Adjust options:
- Add DOCS to OPTIONS_DEFINE
- Remove EXAMPLES from OPTIONS_DEFAULT |
2.1.3_2 18 Jan 2015 22:48:22 |
sunpoet |
- Use INSTALL_TARGET=install-strip instead of STRIP_CMD |
2.1.3_2 20 Dec 2014 18:15:41 |
sunpoet |
- Use USES=autoreconf |
2.1.3_2 27 Oct 2014 10:10:59 |
bapt |
Cleanup plist |
2.1.3_2 13 Sep 2014 18:25:05 |
tijl |
Use default LIBTOOLIZE_ARGS |
2.1.3_2 26 Jun 2014 11:56:54 |
sunpoet |
- Cosmetic change |
2.1.3_2 25 Jun 2014 11:54:29 |
sunpoet |
- Add missing LDFLAGS and USES for CURSES option
- Bump PORTREVISION
Submitted by: rpaulo
Phabric: D283 |
2.1.3_1 17 May 2014 13:26:53 |
sunpoet |
- Fix PORTEXAMPLES
- Adjust OPTIONS:
- AUT -> AUTOMATED
- BAS -> BASIC
- CON -> CONSOLE
- CUR -> CURSES
- DEB -> DEBUG
- EXA -> EXAMPLES
- ITE -> TEST
- MEM -> MEMTRACE
- Bump PORTREVISION for package change |
2.1.3 11 May 2014 14:26:48 |
sunpoet |
- Update to 2.1.3
- Add LICENSE
- Use USES=gmake
- Use USES=libtool
- Convert to new options helper
- Add regression-test:
- Cosmetic change
- Update pkg-descr
Changes: http://sourceforge.net/p/cunit/code/HEAD/tree/trunk/ChangeLog |
2.1.0_2 11 May 2014 06:05:57 |
sunpoet |
- Support STAGEDIR
- Take maintainership |
2.1.0_2 11 May 2014 06:05:46 |
sunpoet |
- Support STAGEDIR
- Take maintainership |
2.1.0_2 10 May 2014 18:28:14 |
antoine |
Reset more maintainers:
<yar@FreeBSD.org>: host hub.freebsd.org[8.8.178.136] said: 550 5.1.1
<yar@FreeBSD.org>: Recipient address rejected: User unknown in local
<rud@cs.uni-magdeburg.de>: host mail.cs.uni-magdeburg.de[141.44.21.48] said:
550 5.1.1 <rud@cs.uni-magdeburg.de>... User unknown (in reply to RCPT TO
<stefan@fh-mainz.de>: host srv-eml-pmva-02.fh-mainz.de[143.93.114.189] said:
550 5.1.1 <stefan@fh-mainz.de>: Recipient address rejected: undeliverable
<ocaml-ounit-port@kotka.de>: host kotka.de[62.75.247.120] said: 550 5.1.1
<ocaml-ounit-port@kotka.de>: Recipient address rejected: User unknown in
<toru@tenchi.ne.jp>: host tuna.tenchi.ne.jp[49.212.63.105] said: 550 5.1.1 (Only the first 15 lines of the commit message are shown above ) |
20 Sep 2013 17:03:27
|
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 1) |
2.1.0_2 29 Apr 2013 18:47:58 |
jgh |
- adoption of optionsNG
Approved by: portmgr (bapt) |
2.1.0_2 25 Apr 2012 03:23:41 |
daichi |
Add a CONFLICT line |
2.1.0_2 03 Jul 2011 14:59:23 |
ohauer |
-remove MD5 |
2.1.0_2 04 Dec 2010 07:34:27 |
ade |
Sync to new bsd.autotools.mk |
2.1.0_2 16 Oct 2010 11:52:47 |
ade |
Punt autoconf267->autoconf268 |
2.1.0_2 15 Sep 2010 18:35:24 |
ade |
Autotools update. Read ports/UPDATING 20100915 for details.
Approved by: portmgr (for Mk/bsd.port.mk part)
Tested by: Multiple -exp runs |
2.1.0_1 22 Aug 2009 00:18:43 |
amdmi3 |
- Switch SourceForge ports to the new File Release System: categories starting
with D |
2.1.0_1 21 Aug 2008 06:18:49 |
rafan |
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk (Only the first 15 lines of the commit message are shown above ) |
2.1.0_1 20 Aug 2008 00:57:32 |
ade |
Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by: exp build run (erwin) |
2.1.0_1 14 Mar 2008 16:00:08 |
pav |
- Stop packaging mtree symlinks
PR: ports/121691
Submitted by: Scot Hetzel <swhetzel@gmail.com> |
2.1.0_1 30 Sep 2007 04:47:37 |
linimon |
Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR: ports/116639
Submitted by: aDe |
2.1.0 09 Sep 2007 05:55:50 |
edwin |
[NEW PORT] devel/cunit: An automated unit testing framework for C
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. CUnit is built as a static library which is
linked with the user's testing code. 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.
WWW: http://cunit.sourceforge.net/
PR: ports/114934
Submitted by: Stefan Pauly <stefan@fh-mainz.de> |