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