Port details |
- criterion C and C++ unit testing framework for the 21st century
- 2.4.2_4 devel =2 2.4.2_2Version of this port present on the latest quarterly branch.
- Maintainer: yuri@FreeBSD.org
- Port Added: 2022-07-03 18:48:15
- Last Update: 2024-10-23 07:11:50
- Commit Hash: 9997938
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: MIT
- WWW:
- https://github.com/Snaipe/Criterion
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- criterion>0:devel/criterion
- To install the port:
- cd /usr/ports/devel/criterion/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/criterion
- pkg install criterion
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: criterion
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1685979400
SHA256 (Snaipe-Criterion-v2.4.2_GH0.tar.gz) = 83e1a39c8c519fbef0d64057dc61c8100b3a5741595788c9f094bba2eeeef0df
SIZE (Snaipe-Criterion-v2.4.2_GH0.tar.gz) = 874664
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:
-
- khash.h : devel/klib
- py311-protobuf>0 : devel/py-protobuf@py311
- nanopb>0 : devel/nanopb
- cmake : devel/cmake-core
- protoc : devel/protobuf
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- msgfmt : devel/gettext-tools
- meson : devel/meson
- ninja : devel/ninja
- python3.11 : lang/python311
- pkgconf>=1.3.0_1 : devel/pkgconf
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- nanopb>0 : devel/nanopb
- python3.11 : lang/python311
- Library dependencies:
-
- libboxfort.so : devel/boxfort
- libffi.so : devel/libffi
- libgit2.so : devel/libgit2
- libnanomsg.so : net/nanomsg
- libintl.so : devel/gettext-runtime
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_criterion
- USES:
- gettext localbase:ldflags meson python pkgconfig shebangfix
- 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.4.2_4 23 Oct 2024 07:11:50 |
Matthias Fechner (mfechner) |
devel/libgit2: bump consumers of libgit2 due to update |
2.4.2_3 18 Oct 2024 18:56:41 |
Nuno Teixeira (eduardo) |
*/*: Bump consumers of devel/libgit2
libgit2 updated to 1.8.1 |
2.4.2_2 01 Oct 2024 18:56:20 |
Rene Ladan (rene) |
all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X
Reviewed by: many
Differential Revision: https://reviews.freebsd.org/D46601 |
2.4.2_2 13 Nov 2023 13:10:10 |
Matthias Fechner (mfechner) |
devel/libgit2: bump all ports depending on libgit2 for 1.7.1 upgrade |
2.4.2_1 08 Sep 2023 13:50:20 |
Matthias Fechner (mfechner) |
Bump ports with dependency to libgit2
See f11ed41604723ab3c75c6a108850858b7efd4f10 |
2.4.2 26 Jul 2023 00:48:20 |
Muhammad Moinur Rahman (bofh) |
*/*: Fix build with llvm16 on 13.2-STABLE
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE
with the OSVERSION 1302507.
- Utilize USE_CXXSTD=c++14 or similar solution where applicable
- Update conditionals to addtionally check for OSVERSION greater than
1302507 and less than 1400000
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation |
2.4.2 20 Jul 2023 17:42:36 |
Muhammad Moinur Rahman (bofh) |
devel/criterion: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation |
2.4.2 05 Jun 2023 16:05:46 |
Yuri Victorovich (yuri) |
devel/criterion: Update 2.4.1-13 → 2.4.2
Reported by: portscout |
2.4.1.13 12 Mar 2023 09:02:30 |
Yuri Victorovich (yuri) |
devel/criterion: Update 2.4.1 → 2.4.1-13
This updates unbreaks criterion: the previous version was broken with
the previous revision of nanopb. |
2.4.1 09 Sep 2022 21:02:04 |
Daniel Engberg (diizzy) |
*/*: Update path set in BUILD_DEPENDS for CMake in more ports
Commit b23ea4e2d2f51b53d8915fe9fd7b4efbdd575e38 changed its location to
devel/cmake-core
Approved by: portmgr (blanket) |
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.4.1 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.4.1 03 Jul 2022 22:30:04 |
Yuri Victorovich (yuri) |
devel/criterion: Add tests; Remove unnecessary compile flags |
2.4.1 03 Jul 2022 19:51:16 |
Yuri Victorovich (yuri) |
devel/criterion: Small corrections |
2.4.1 03 Jul 2022 18:47:18 |
Yuri Victorovich (yuri) |
devel/criterion: New port: C and C++ unit testing framework for the 21st century
This KISS-compliant library makes testsuites as simple as possible. |