Closed jeffvandyke closed 6 years ago
Maybe we should also enable tests by default (so just flip the ONION_USE_TEST to default true at the beginning of file).
What do you think?
Just finished testing it, and that should work fine, and it makes sense if by default we're compiling the examples as well.
Looks cool, but I see test are failing now. I will try to fix it today before merging this pull request.
Sorry, took me some days to be able to look into it. All passing now on my laptop.
There was only one problem on the websocket test running because of a compile time requirement.
No problem, you're doing pretty good for time compared to some of the other projects I've seen :smile:
This allows users of this project that incorporate it into their CMake buildsystem to optionally avoid needing to compile the tests for a clean build. If tests aren't run, then (maybe I'm wrong) I don't see a need to compile them.