From 7594301d989b9f7dc2f31c5cab94617063da0a14 Mon Sep 17 00:00:00 2001 From: Mickey Rose Date: Thu, 4 Feb 2016 18:54:21 +0100 Subject: [PATCH] test/shapeindex: include loop variables in failure message [skip ci] --- test/unit/datasource/shapeindex.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/datasource/shapeindex.cpp b/test/unit/datasource/shapeindex.cpp index 7b3aef029..1ea3cdfb8 100644 --- a/test/unit/datasource/shapeindex.cpp +++ b/test/unit/datasource/shapeindex.cpp @@ -97,6 +97,9 @@ TEST_CASE("shapeindex") { for (bool index_parts : {false, true} ) { + CAPTURE(path); + CAPTURE(index_parts); + std::string index_path = path.substr(0, path.rfind(".")) + ".index"; // remove *.index if present if (mapnik::util::exists(index_path))