test/shapeindex: include loop variables in failure message

[skip ci]
This commit is contained in:
Mickey Rose 2016-02-04 18:54:21 +01:00
parent 8c1f71c39e
commit 7594301d98

View file

@ -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))