BSD Ports

devel/cunit 2.1.3_3 FreeBSD

Automated unit testing framework for C

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL20
Categories
devel
Package size
169.3 KiB, 876.5 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDdevel/cunit2.1.3_3
OpenBSDdevel/cunit2.1.2p3
NetBSDdevel/cunit2.1.3nb1
MidnightBSDdevel/cunit2.1.3_3
HardenedBSDdevel/cunit2.1.3_3
GhostBSDdevel/cunit2.1.3_3

Install

Binary package:

pkg install cunit

From the ports tree:

cd /usr/ports/devel/cunit/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	cunit>0:devel/cunit
LIB_DEPENDS=	libcunit.so:devel/cunit

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.1.3_32.1.3_32.1.3_32.1.3_32.1.3_3
FreeBSD:14:quarterly2.1.3_32.1.3_3n/a2.1.3_32.1.3_3
FreeBSD:15:latest2.1.3_32.1.3_3n/a2.1.3_32.1.3_3
FreeBSD:15:quarterly2.1.3_32.1.3_3n/an/an/a
FreeBSD:16:latest2.1.3_32.1.3_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 9
Required by 1

Configuration

Options name: devel_cunit

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
autoreconf gmake libtool ncurses tar:bzip2
Service scripts
none
Conflicts with
c-unit

Files

Manual pages 1
  • CUnit(3)
pkg-plist 53
  • include/CUnit/Automated.h
  • include/CUnit/Basic.h
  • include/CUnit/CUCurses.h
  • include/CUnit/CUError.h
  • include/CUnit/CUnit.h
  • include/CUnit/CUnit_intl.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.so
  • lib/libcunit.so.1
  • lib/libcunit.so.1.0.1
  • libdata/pkgconfig/cunit.pc
  • 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/cunit/Test/test_cunit
  • share/doc/cunit/CUnit_doc.css
  • share/doc/cunit/error_handling.html
  • share/doc/cunit/fdl.html
  • 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/CUnit_intl.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
  • share/examples/cunit/Automated/AutomatedTest
  • share/examples/cunit/Automated/README
  • share/examples/cunit/Basic/BasicTest
  • share/examples/cunit/Basic/README
  • share/examples/cunit/Console/ConsoleTest
  • share/examples/cunit/Console/README
  • share/examples/cunit/Curses/CursesTest
  • share/examples/cunit/Curses/README
  • share/man/man3/CUnit.3.gz
distinfo 1
FileSizeSHA256
CUnit-2.1-3.tar.bz2514500f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214
Master sites 1
  • SF/cunit/CUnit/${PORTVERSION:R}-${PORTVERSION:E}

Commit history 0

No commits in the history this site was built from.