mapnik/test/unit/run.cpp

18 lines
359 B
C++
Raw Normal View History

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