Comments (7)
This was fixed by PR #84, and merged into the 'develop' branch, but not yet promoted to 'master' nor released. Development is still a bit unstable.
But with this fix, the build system will determine if Catch2 is v2.x or v3.x and include the proper header file.
Unfortunately, I have a few other open-source projects queued for release before I get to this one, so it will likely be a few months before this is released. In the meantime, if you really need to run the tests, you can build against v2.x or perhaps try to cherry-pick the PR into your local build.
from sockpp.
If I understand this patch correctly, in case of catch2 v3 we need just to replace #include "catch2/catch.hpp"
by #include "catch2/catch_all.hpp"
in all test/unit/*.cpp
files?
In such case I would just add such patches into the ports tree waiting for the new release of sockpp. We don't need a support for building with <v3 in ports as the version of catch2 is fixed by the version of catch2 port. So, the patch can be relatively simple.
from sockpp.
Yes. The patch (PR) just uses CMake to discover if v2.x or >=v3.x is installed and sets a flag for which of those two headers to include in all the test source files.
The tests themselves just use a minimal set of features that are compatible with either version.
from sockpp.
I assume this is resolved? If not, feel free to re-open.
from sockpp.
It seems that the patch is not included in the last release. Please, drop some lines here when you release a version with this patch included, so we remove the patch from port.
from sockpp.
I just added a few small bug fixes to the v0.8.x line, holding off on new features until v0.9 which should be out soon. (I would consider adding support for Catch v3 as a new "feature").
But maybe the PR would cherry pick cleanly. I'll give it a try, and if it works, I'll push it out.
from sockpp.
Done.
v0.8.3 supports Catch2 versions 2.x and 3.x
from sockpp.
Related Issues (20)
- Can I clone a udp_socket HOT 3
- Error in cross-compiling for SH4 Linux HOT 3
- Win32 build issue with Unicode HOT 4
- Cannot use UDP sockets: unresolved external symbol HOT 3
- Moving toward stateless I/O without exceptions HOT 2
- Adding debug postfix
- Is there or will there be a way to join a multicast group? HOT 6
- Partial shutdown socket handle release.
- Fail to get data after second connect via Unix Domain Sockets
- Android compilation is broken with recent NDK (strerror_r) HOT 1
- Use std::span() HOT 13
- Non-blocking accept HOT 7
- CMake error with old CMake version HOT 4
- uniform_int_distribution<char> does not compile with libc++ HOT 3
- Nagle's molasses tar pit algorithm, default HOT 4
- Strange build failure on i386 HOT 5
- Examples are out of touch with reality and documentation HOT 4
- Broken example 'tcpecho' HOT 6
- SO_REUSEADDR HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sockpp.