From c7693d9765a277b5c37a5562653cfc79c4f2cc52 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 30 Jun 2015 18:47:36 -0700 Subject: [PATCH] fix odd inf loop in catch.hpp --- test/standalone/csv_test.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/standalone/csv_test.cpp b/test/standalone/csv_test.cpp index 9405e6615..2023f67f4 100644 --- a/test/standalone/csv_test.cpp +++ b/test/standalone/csv_test.cpp @@ -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