mapnik/test/unit/run.cpp

18 lines
359 B
C++
Raw Normal View History

2015-04-25 20:08:12 +00:00
#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
#include <mapnik/datasource_cache.hpp>
#include "cleanup.hpp" // run_cleanup()
2015-04-25 20:08:12 +00:00
int main (int argc, char* const argv[])
{
mapnik::datasource_cache::instance().register_datasources("plugins/input/");
2015-04-25 20:08:12 +00:00
int result = Catch::Session().run( argc, argv );
2015-04-26 21:26:11 +00:00
testing::run_cleanup();
2015-04-26 21:26:11 +00:00
2015-04-25 20:08:12 +00:00
return result;
}