/////////////////////////////////////////////////////////////////////////////////////// /// \file main.cpp /// \brief Main function for the unit tests /// /// \author Joe Siltberg /// $Date: 2013-10-10 10:20:33 +0200 (Thu, 10 Oct 2013) $ /// /////////////////////////////////////////////////////////////////////////////////////// #define CATCH_CONFIG_RUNNER #include "catch.hpp" #include "shell.h" int main(int argc, char** argv) { // Set a shell so we have working dprintf, fail etc. set_shell(new CommandLineShell("tests.log")); // Let CATCH do the rest int result = Catch::Main(argc, argv); return result; }