BSD Ports

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

SystemPortVersion
FreeBSDdevel/criterion2.4.3
DragonFlydevel/criterion2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.4.32.4.32.4.12.4.2_52.4.3
FreeBSD:14:quarterly2.4.32.4.3n/a2.4.2_52.4.3
FreeBSD:15:latest2.4.32.4.3n/a2.4.2_52.4.2_5
FreeBSD:15:quarterly2.4.32.4.3n/an/an/a
FreeBSD:16:latest2.4.32.4.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 5

Library 4

Runtime 1

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

Build dependencies 35
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
FileSizeSHA256
Snaipe-Criterion-v2.4.3_GH0.tar.gz8751956d924ee5eeaaaed7762ab968f560b9ff543fc3473aa949bf53ac56a2a1a9416c
MrAnno-debugbreak-83bf7e9_GH0.tar.gz70606ec24bdf3d361ec2bb7d128c56b8e870a1bb2d6b22eab3c2821eb1e15ccb8919

Commit history 0

No commits in the history this site was built from.