notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details on branch 2024Q3
catch Header-only test framework for C++
2.13.10 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.13.10Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-09-19 07:24:06
Last Update: 2024-09-19 07:22:04
Commit Hash: 09b0737
License: BSL
WWW:
https://github.com/catchorg/Catch2
Description:
Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (20 items)
Collapse this list.
  1. /usr/local/share/licenses/catch-2.13.10/catalog.mk
  2. /usr/local/share/licenses/catch-2.13.10/LICENSE
  3. /usr/local/share/licenses/catch-2.13.10/BSL
  4. include/catch2/catch.hpp
  5. include/catch2/catch_reporter_automake.hpp
  6. include/catch2/catch_reporter_sonarqube.hpp
  7. include/catch2/catch_reporter_tap.hpp
  8. include/catch2/catch_reporter_teamcity.hpp
  9. lib/cmake/Catch2/Catch.cmake
  10. lib/cmake/Catch2/Catch2Config.cmake
  11. lib/cmake/Catch2/Catch2ConfigVersion.cmake
  12. lib/cmake/Catch2/Catch2Targets.cmake
  13. lib/cmake/Catch2/CatchAddTests.cmake
  14. lib/cmake/Catch2/ParseAndAddCatchTests.cmake
  15. libdata/pkgconfig/catch2.pc
  16. share/Catch2/gdbinit
  17. share/Catch2/lldbinit
  18. @owner
  19. @group
  20. @mode
Collapse this list.
Dependency lines:
  • catch>0:devel/catch
To install the port:
cd /usr/ports/devel/catch/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/catch
  • pkg install catch
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: catch
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1679498524 SHA256 (catchorg-Catch2-v2.13.10_GH0.tar.gz) = d54a712b7b1d7708bc7a819a8e6e47b2fde9536f487b89ccbca295072a7d9943 SIZE (catchorg-Catch2-v2.13.10_GH0.tar.gz) = 662225

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for catch-2.13.10: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
devel_catch
USES:
cmake compiler:c++14-lang pathfix python:build
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/catchorg/Catch2/tar.gz/v2.13.10?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.13.10
19 Sep 2024 07:22:04
commit hash: 09b07372327bd18905fb4e9b5873146ba3ab5315commit hash: 09b07372327bd18905fb4e9b5873146ba3ab5315commit hash: 09b07372327bd18905fb4e9b5873146ba3ab5315commit hash: 09b07372327bd18905fb4e9b5873146ba3ab5315 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
devel/catch: fix build with clang 19

Clang 19 has become more strict about C++ extensions, which results in:

 
/wrkdirs/usr/ports/devel/catch/work/Catch2-2.13.10/projects/SelfTest/UsageTests/Class.tests.cpp:83:1:
error: passing no argument for the '...' parameter of a variadic macro is a
C++20 extension [-Werror,-Wc++20-extensions]
     83 | TEMPLATE_TEST_CASE_METHOD(Template_Fixture, "A
TEMPLATE_TEST_CASE_METHOD based test run that succeeds", "[class][template]",
int, float, double) {
        | ^
  /wrkdirs/usr/ports/devel/catch/work/Catch2-2.13.10/include/catch.hpp:257:53:
note: expanded from macro 'TEMPLATE_TEST_CASE_METHOD'
    257 | #define TEMPLATE_TEST_CASE_METHOD( className, ... )
INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ )
        |                                                     ^
 
/wrkdirs/usr/ports/devel/catch/work/Catch2-2.13.10/include/internal/catch_test_registry.h:302:9:
note: expanded from macro 'INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD'
    302 |         INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_2(
INTERNAL_CATCH_UNIQUE_NAME( C_A_T_C_H_T_E_M_P_L_A_T_E_T_E_S_T_C_L_A_S_S_ ),
INTERNAL_CATCH_UNIQUE_NAME( C_A_T_C_H_T_E_M_P_L_A_T_E_T_E_S_T_ ) , ClassName,
Name, Tags, typename T, __VA_ARGS__ )
        |         ^
 
/wrkdirs/usr/ports/devel/catch/work/Catch2-2.13.10/include/internal/catch_test_registry.h:279:13:
note: expanded from macro 'INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_2'
    279 |            
INTERNAL_CATCH_NTTP_GEN(INTERNAL_CATCH_REMOVE_PARENS(Signature))\
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 1