You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
neptools/test/main.cpp

16 lines
424 B
C++

#define CATCH_CONFIG_RUNNER
#include <catch.hpp>
#include <boost/exception/diagnostic_information.hpp>
#include "logger.hpp"
static std::string info(const boost::exception& e)
{ return boost::diagnostic_information(e); }
int main(int argc, const char** argv)
{
Catch::ExceptionTranslatorRegistrar x{info};
Neptools::Logger::global_level = Neptools::Logger::ERROR;
return Catch::Session().run( argc, argv );
}