Skip to content

Upgrade catch2 to latest#331

Merged
jbaldwin merged 1 commit intomainfrom
issue-329/catch-upgrade
May 30, 2025
Merged

Upgrade catch2 to latest#331
jbaldwin merged 1 commit intomainfrom
issue-329/catch-upgrade

Conversation

@jbaldwin
Copy link
Owner

  • Catch2 v3.8.1
  • Added catch_extensions.hpp/cpp with a REQUIRE_THREAD_SAFE macro, the latest version of catch is no longer thread safe and some tests around tcp and tls need to use REQUIRE across threads which catch2 no longer supports.
  • REQUIRE_THREAD_SAFE() uses a global mutex/unique lock to solve the catch2 issues, hopefully this will continue to work moving forward.

Closes #329

@jbaldwin jbaldwin self-assigned this May 29, 2025
@jbaldwin jbaldwin force-pushed the issue-329/catch-upgrade branch 5 times, most recently from 7fa4e18 to ad1244d Compare May 29, 2025 21:52
* Catch2 v3.8.1
* Added catch_extensions.hpp/cpp with a REQUIRE_THREAD_SAFE macro, the
  latest version of catch is no longer thread safe and some tests around
tcp and tls need to use REQUIRE across threads which catch2 no longer
supports.
* REQUIRE_THREAD_SAFE() uses a global mutex/unique lock to solve the
  catch2 issues, hopefully this will continue to work moving forward.
* Upgrades ci-ubuntu and ci-conan to use --fix-missing on
  upgrade+install commands

Closes #329
@jbaldwin jbaldwin force-pushed the issue-329/catch-upgrade branch from ad1244d to e4bb956 Compare May 29, 2025 22:04
@jbaldwin jbaldwin merged commit df32f72 into main May 30, 2025
67 of 89 checks passed
@jbaldwin jbaldwin deleted the issue-329/catch-upgrade branch May 30, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade catch test framework to latest

1 participant