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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/cunit | 2.1.3_3 |
| OpenBSD | devel/cunit | 2.1.2p3 |
| NetBSD | devel/cunit | 2.1.3nb1 |
| MidnightBSD | devel/cunit | 2.1.3_3 |
| HardenedBSD | devel/cunit | 2.1.3_3 |
| GhostBSD | devel/cunit | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.1.3_3 | 2.1.3_3 | 2.1.3_3 | 2.1.3_3 | 2.1.3_3 |
| FreeBSD:14:quarterly | 2.1.3_3 | 2.1.3_3 | n/a | 2.1.3_3 | 2.1.3_3 |
| FreeBSD:15:latest | 2.1.3_3 | 2.1.3_3 | n/a | 2.1.3_3 | 2.1.3_3 |
| FreeBSD:15:quarterly | 2.1.3_3 | 2.1.3_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.1.3_3 | 2.1.3_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| CUnit-2.1-3.tar.bz2 | 514500 | f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214 |
Master sites 1
- SF/cunit/CUnit/${PORTVERSION:R}-${PORTVERSION:E}
Commit history 0
No commits in the history this site was built from.