Package Details: criterion 2.3.3-3

Git Clone URL: (read-only, click to copy)
Package Base: criterion
Description: A cross-platform C and C++ unit testing framework for the 21th century
Upstream URL:
Keywords: c c++ kiss test unit xunit
Licenses: MIT
Submitter: Snaipe
Maintainer: MrAnno
Last Packager: MrAnno
Votes: 13
Popularity: 0.128460
First Submitted: 2015-09-22 11:32
Last Updated: 2019-09-14 21:19

Latest Comments

1 2 Next › Last »

MrAnno commented on 2019-07-29 22:43


exoave commented on 2019-07-21 16:12

Thanks for reporting, I'm out at the time and not able to access a computer. I'll fix it as soon as I can.

MrAnno commented on 2019-07-20 12:13

git is missing from makedepends.

==> ERROR: Cannot find the git package needed to handle git sources. (tested with makechrootpkg)

dellamorte commented on 2017-12-02 21:48

I want to write a short review of criterion, thats why i need good documentation for refernecing. Thanks, and keep up the good work!

Ethyling commented on 2017-12-02 20:46

@Snaipe Thanks !

Snaipe commented on 2017-12-02 18:21

dellamorte: Ah I can see where the confusion stems from. The bleeding branch has not bumped the version, so the docs that are built are marked 2.3.2, but they aren't release documents.

You can see that the URL you posted is, in fact, the `lastest` docs. For 2.3.0 docs, use instead.

The new assertion API is not part of any release at the moment, so criterion/new/assert.h wouldn't exist.

dellamorte commented on 2017-12-02 18:18

Thanks! Actually API references in described pdf are different from those in actual build. Readthedocs is ok. Also, which assertion API is newer?

a) cr_assert_eq(Actual, Expected, FormatString, ...)
b) cr_assert(eq(Tag, Actual, Expected), Format, ...)

Pdf documentation ( is tagged as for 2.3.2 but i can't compile simple code like this one:

#include <criterion/criterion.h>
#include <criterion/new/assert.h>


Error is:

test2.c:2:10: fatal error: criterion/new/assert.h: No such file or directory
#include <criterion/new/assert.h>
compilation terminated

Snaipe commented on 2017-12-02 18:13

Ethyling: Fixed.

Snaipe commented on 2017-12-02 17:51

Oh, okay, it seems that the install rule is installing an external dependency at the wrong place. This is a bug in Criterion's build system, but fixable in the PKGBUILD without re-releasing anything, so I'll do just that and fix the CMakeLists.txt for future releases.

Ethyling commented on 2017-12-02 17:35

Hi, thanks for the fix, I can now build the package with makepkg.
Otherwise I got an error when I try to install it using pacman -U :

:: Proceed with installation? [Y/n]
error: failed to commit transaction (conflicting files)
criterion: /tmp/criterion/src/criterion/build/external/include/boxfort.h exists in filesystem
criterion: /tmp/criterion/src/criterion/build/external/lib/libboxfort.a exists in filesystem
Errors occurred, no packages were upgraded.

Could you please look at this ? Or maybe I'm missing some details ?