cface485dfc224b2d7a9e8c8345777f151f06788
1 // The Catch implementation is compiled here. This is a standalone
2 // translation unit to avoid recompiling it for every test change.
4 #include <pybind11/embed.h>
6 #define CATCH_CONFIG_RUNNER
9 namespace py
= pybind11
;
11 int main(int argc
, const char *argv
[]) {
12 py::scoped_interpreter guard
{};
13 auto result
= Catch::Session().run(argc
, argv
);
15 return result
< 0xff ? result
: 0xff;