2015-04-25 22:08:12 +02:00
|
|
|
#define CATCH_CONFIG_RUNNER
|
|
|
|
#include "catch.hpp"
|
|
|
|
|
2015-07-28 00:35:00 +02:00
|
|
|
#include <mapnik/datasource_cache.hpp>
|
|
|
|
|
2015-06-13 04:52:58 +02:00
|
|
|
#include "cleanup.hpp" // run_cleanup()
|
2015-04-25 22:08:12 +02:00
|
|
|
|
|
|
|
int main (int argc, char* const argv[])
|
|
|
|
{
|
2015-07-28 00:35:00 +02:00
|
|
|
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
|
|
|
|
2015-06-13 04:52:58 +02:00
|
|
|
testing::run_cleanup();
|
2015-04-26 23:26:11 +02:00
|
|
|
|
2015-04-25 22:08:12 +02:00
|
|
|
return result;
|
|
|
|
}
|