From 2d5c35600dad125cc30581ba97db0ef1401fbe97 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 2 Apr 2016 18:45:15 +0200 Subject: [PATCH] Fix more symbol clashes --- test/unit/datasource/pgraster.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/unit/datasource/pgraster.cpp b/test/unit/datasource/pgraster.cpp index 3ae4020b4..ac8ff50a2 100644 --- a/test/unit/datasource/pgraster.cpp +++ b/test/unit/datasource/pgraster.cpp @@ -35,6 +35,8 @@ clang++ -o test-pgraster -g -I./test/ test/unit/run.cpp test/unit/datasource/pgr #include +namespace { + int run(std::string const& command, bool okay_to_fail = false) { std::string cmd; @@ -61,11 +63,11 @@ int run(std::string const& command, bool okay_to_fail = false) return worked; } -namespace { std::string dbname("mapnik-tmp-postgis-test-db"); -} -TEST_CASE("postgis") { +} // anonymous namespace + +TEST_CASE("pgraster") { SECTION("Postgis data initialization") {