devel/criterion 2.4.3 FreeBSD
C and C++ unit testing framework for the 21st century
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel
- Package size
- 129.9 KiB, 793.3 KiB installed
Description
Criterion is a cross-platform C and C++ unit testing framework for the 21st century.
Most test frameworks for C require a lot of boilerplate code to set up tests and test suites -- you need to create a main, then register new test suites, then register the tests within these suites, and finally call the right functions.
This gives the user great control, at the unfortunate cost of simplicity.
Criterion follows the KISS principle, while keeping the control the user would have with other frameworks.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/criterion | 2.4.3 |
| DragonFly | devel/criterion | 2.4.2_4 |
Install
Binary package:
pkg install criterion
From the ports tree:
cd /usr/ports/devel/criterion/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= criterion>0:devel/criterion
LIB_DEPENDS= libcriterion.so:devel/criterion
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.4.3 | 2.4.3 | 2.4.1 | 2.4.2_5 | 2.4.3 |
| FreeBSD:14:quarterly | 2.4.3 | 2.4.3 | n/a | 2.4.2_5 | 2.4.3 |
| FreeBSD:15:latest | 2.4.3 | 2.4.3 | n/a | 2.4.2_5 | 2.4.2_5 |
| FreeBSD:15:quarterly | 2.4.3 | 2.4.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.4.3 | 2.4.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 5
${LOCALBASE}/include/klib/khash.h: devel/klib${PYTHON_PKGNAMEPREFIX}protobuf>0: devel/py-protobufnanopb>0: devel/nanopbcmake: devel/cmake-coreprotoc: devel/protobuf
Library 4
libboxfort.so: devel/boxfortlibffi.so: devel/libffilibgit2.so: devel/libgit2libnanomsg.so: net/nanomsg
Runtime 1
nanopb>0: devel/nanopb
The full lists below include those, and their dependencies in turn.
Build dependencies 35
- archivers/liblz4
- archivers/zstd
- devel/abseil
- devel/boxfort
- devel/cmake-core
- devel/gettext-runtime
- devel/gettext-tools
- devel/jsoncpp
- devel/klib
- devel/libffi
- devel/libgit2
- devel/libtextstyle
- devel/libunistring
- devel/libuv
- devel/meson
- devel/nanopb
- devel/ninja
- devel/pcre2
- devel/pkgconf
- devel/protobuf
- devel/py-protobuf
- devel/py-setuptools
- devel/readline
- dns/libidn2
- lang/python312
- lang/python315
- math/mpdecimal
- net/nanomsg
- ports-mgmt/pkg
- print/indexinfo
- security/libssh2
- security/rhash
- textproc/expat2
- textproc/libxml2
- www/llhttp
Run dependencies 19
No port depends on this one.
Configuration
No options to configure.
- USES
- gettext localbase:ldflags meson python pkgconfig shebangfix
- Service scripts
- none
Files
pkg-plist 51
- include/criterion/abort.h
- include/criterion/alloc.h
- include/criterion/assert.h
- include/criterion/criterion.h
- include/criterion/embedded.h
- include/criterion/event.h
- include/criterion/hooks.h
- include/criterion/internal/asprintf-compat.h
- include/criterion/internal/assert.h
- include/criterion/internal/assert/complex.h
- include/criterion/internal/assert/exceptions.h
- include/criterion/internal/assert/ieee.h
- include/criterion/internal/assert/memory.h
- include/criterion/internal/assert/op.h
- include/criterion/internal/assert/op.hxx
- include/criterion/internal/assert/stream.h
- include/criterion/internal/assert/tag.h
- include/criterion/internal/assert/tostr.h
- include/criterion/internal/assert/types.h
- include/criterion/internal/capabilities.h
- include/criterion/internal/common.h
- include/criterion/internal/deprecation.h
- include/criterion/internal/designated-initializer-compat.h
- include/criterion/internal/hooks.h
- include/criterion/internal/new_asserts.h
- include/criterion/internal/ordered-set.h
- include/criterion/internal/parameterized.h
- include/criterion/internal/preprocess.h
- include/criterion/internal/redirect.h
- include/criterion/internal/stdio_filebuf.hxx
- include/criterion/internal/stream.hxx
- include/criterion/internal/test.h
- include/criterion/internal/theories.h
- include/criterion/logging.h
- include/criterion/new/assert.h
- include/criterion/new/memory.h
- include/criterion/new/stream.h
- include/criterion/options.h
- include/criterion/output.h
- include/criterion/parameterized.h
- include/criterion/redirect.h
- include/criterion/stats.h
- include/criterion/theories.h
- include/criterion/types.h
- lib/libcriterion.a
- lib/libcriterion.so
- lib/libcriterion.so.3
- lib/libcriterion.so.3.2.0
- libdata/pkgconfig/criterion.pc
- share/locale/de/LC_MESSAGES/criterion.mo
- share/locale/fr/LC_MESSAGES/criterion.mo
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| Snaipe-Criterion-v2.4.3_GH0.tar.gz | 875195 | 6d924ee5eeaaaed7762ab968f560b9ff543fc3473aa949bf53ac56a2a1a9416c |
| MrAnno-debugbreak-83bf7e9_GH0.tar.gz | 7060 | 6ec24bdf3d361ec2bb7d128c56b8e870a1bb2d6b22eab3c2821eb1e15ccb8919 |
Commit history 0
No commits in the history this site was built from.