aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2017-11-10 12:01:18 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitd60737592736715dcfd0520535c48190d4ac77d2 (patch)
treed27b6eab5fb11b865aaeca712d075e078f864c16
parent1c529921eb9997a0328902b71af3361b96a7f09e (diff)
downloadComputeLibrary-d60737592736715dcfd0520535c48190d4ac77d2.tar.gz
COMPMID-663: Fixed JSON writer for raw_data
Quotes were missing around the JSON strings Change-Id: I3257721f76215a5c900428c453a843090d12a596 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95314 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
-rw-r--r--tests/framework/printers/JSONPrinter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/framework/printers/JSONPrinter.cpp b/tests/framework/printers/JSONPrinter.cpp
index bb85a134f2..8d3c023a92 100644
--- a/tests/framework/printers/JSONPrinter.cpp
+++ b/tests/framework/printers/JSONPrinter.cpp
@@ -193,9 +193,9 @@ void JSONPrinter::print_measurements(const Profiler::MeasurementsMap &measuremen
else
{
std::stringstream str;
- str << "[";
- str << join(measurement.raw_data().begin(), measurement.raw_data().end(), ",");
- str << "]";
+ str << R"([")";
+ str << join(measurement.raw_data().begin(), measurement.raw_data().end(), R"(",")");
+ str << R"("])";
return str.str();
}
};