Package Details: criterion 2.4.2-2

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: 16
Popularity: 0.040126
First Submitted: 2015-09-22 11:32 (UTC)
Last Updated: 2024-02-24 10:53 (UTC)

Latest Comments

1 2 3 Next › Last »

MrAnno commented on 2024-02-24 10:53 (UTC)

@Orkie Thank you.

Orkie commented on 2024-02-24 10:19 (UTC)

It looks like lto causes issues with criterion - the PKGBUILD file needs the following line adding: options=(!lto)

Eidokan commented on 2023-08-25 11:19 (UTC)

I'm getting a check failure on 48/48 criterion / cram tests. Exit code 1 does look wrong considering CRITERION_ALWAYS_SUCCEED=1 is set. It also takes pretty long compared to the other tests. I'm building and checking in a clean and up-to-date chroot environment. Any ideas on what's happening? BTW, there is also a compiler warning during build about a type mismatch of main with and without arguments.

48/48 criterion / cram tests                    FAIL             6.59s   exit status 1
>>> MSYS2_ARG_CONV_EXCL=--filter= CRITERION_ALWAYS_SUCCEED=1 MALLOC_PERTURB_=133 LC_ALL=en_US.utf8 CRITERION_DISABLE_TIME_MEASUREMENTS=1 TERM=dumb CRITERION_JOBS=1 PATH=/build/criterion/src/criterion-2.4.2/build/test/cram/../../samples:/build/criterion/src/criterion-2.4.2/build/test/cram/../full:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl CXX_SUPPORT=1 CRITERION_SHORT_FILENAME=1 /usr/bin/cram --shell=/usr/bin/sh test/cram

I uploaded the full logs here. Thank you for maintaining this!

MrAnno commented on 2022-11-22 18:34 (UTC)

@Breigner01 Arch Linux dependencies have been updated, you need to reinstall Criterion (to be precise, you need a full recompilation).

Breigner01 commented on 2022-11-22 18:31 (UTC) (edited on 2022-11-22 18:35 (UTC) by Breigner01)

I think there are problems with the packaging here because I now get the following error when trying to compile with criterion:

/usr/bin/ld: warning:, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning:, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `nn_recv'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `nn_freemsg'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `nn_bind'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `git_diff_buffers'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `nn_send'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `nn_close'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `git_libgit2_shutdown'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `git_libgit2_init'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `nn_connect'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `nn_socket'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/ undefined reference to `nn_strerror'
collect2: error: ld returned 1 exit status

This is a project from 2021 that I'm trying to compile the unit tests from which worked back then on arch. Also I found these /usr/lib/ and /usr/lib/

MrAnno commented on 2019-07-29 22:43 (UTC)


exoave commented on 2019-07-21 16:12 (UTC)

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 (UTC)

git is missing from makedepends.

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

n3b0j5a commented on 2017-12-02 21:48 (UTC)

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 (UTC)

@Snaipe Thanks !