X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d139feb768ff78f8e4b905f7dc9a590355dfaa24..3886ef930e3fd54894b8798ab17ef4d3bc0b995a:/tests/main.cpp diff --git a/tests/main.cpp b/tests/main.cpp new file mode 100644 index 00000000..f561cb16 --- /dev/null +++ b/tests/main.cpp @@ -0,0 +1,22 @@ +#include +#include +#include + +using std::exception; +using std::cerr; +using std::endl; + +namespace tut +{ + test_runner_singleton runner; +} + +int main() +{ + tut::reporter reporter; + tut::runner.get().set_callback(&reporter); + + tut::runner.get().run_tests(); + + return !reporter.all_ok(); +}