From 51c32247fb18d5824f405dcaac65436128dc83e8 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 4 Nov 2014 12:27:14 -0800 Subject: [PATCH] Update test/suite --- test/headless.cpp | 5 +++++ test/suite | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/test/headless.cpp b/test/headless.cpp index 657bab4c3..38c3decd6 100644 --- a/test/headless.cpp +++ b/test/headless.cpp @@ -76,6 +76,11 @@ TEST_P(HeadlessTest, render) { std::string style = util::read_file(base_directory + "tests/" + base + "/style.json"); std::string info = util::read_file(base_directory + "tests/" + base + "/info.json"); + std::size_t pos = 0; + while ((pos = style.find("local://", pos)) != std::string::npos) { + style.replace(pos, 8, "http://localhost:2900/"); + } + // Parse style. rapidjson::Document styleDoc; styleDoc.Parse<0>((const char *const)style.c_str()); diff --git a/test/suite b/test/suite index 0f5f8f302..b94ae79bb 160000 --- a/test/suite +++ b/test/suite @@ -1 +1 @@ -Subproject commit 0f5f8f302202261c19810ea856fdcfb624989731 +Subproject commit b94ae79bb1e802b3c2d41792401192631d2be545