fix odd inf loop in catch.hpp
This commit is contained in:
parent
9a54d720cd
commit
c7693d9765
1 changed files with 4 additions and 3 deletions
|
@ -157,14 +157,15 @@ void require_geometry(mapnik::feature_ptr feature,
|
|||
}
|
||||
} // anonymous namespace
|
||||
|
||||
static const std::string csv_plugin("./plugins/input/csv.input");
|
||||
|
||||
const bool registered = mapnik::datasource_cache::instance().register_datasources(csv_plugin);
|
||||
|
||||
TEST_CASE("csv") {
|
||||
|
||||
std::string csv_plugin("./plugins/input/csv.input");
|
||||
if (mapnik::util::exists(csv_plugin))
|
||||
{
|
||||
|
||||
const bool registered = mapnik::datasource_cache::instance().register_datasources(csv_plugin);
|
||||
|
||||
REQUIRE(registered);
|
||||
|
||||
// make the tests silent since we intentially test error conditions that are noisy
|
||||
|
|
Loading…
Reference in a new issue