aboutsummaryrefslogtreecommitdiff
path: root/framework/printers/JSONPrinter.cpp
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-07-26 16:03:58 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:16:42 +0100
commit542002cf3d9acc2858e2311966cd9b060d70b5a6 (patch)
tree19787c9ff55c192be79398d1b07334277c29832a /framework/printers/JSONPrinter.cpp
parentba9b3f58583331100346cf4fad16d51aa11a3677 (diff)
downloadComputeLibrary-542002cf3d9acc2858e2311966cd9b060d70b5a6.tar.gz
COMPMID-415: Print test id
Change-Id: Ie8521aac33361a9296529eeea831f195319e0db7 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/81726 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'framework/printers/JSONPrinter.cpp')
-rw-r--r--framework/printers/JSONPrinter.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/framework/printers/JSONPrinter.cpp b/framework/printers/JSONPrinter.cpp
index 66973bb1ab..7806644418 100644
--- a/framework/printers/JSONPrinter.cpp
+++ b/framework/printers/JSONPrinter.cpp
@@ -23,6 +23,8 @@
*/
#include "JSONPrinter.h"
+#include "framework/Framework.h"
+
#include <algorithm>
namespace arm_compute
@@ -72,11 +74,11 @@ void JSONPrinter::print_run_footer()
*_stream << "}";
}
-void JSONPrinter::print_test_header(const std::string &name)
+void JSONPrinter::print_test_header(const TestInfo &info)
{
print_separator(_first_test);
- *_stream << R"(")" << name << R"(" : {)";
+ *_stream << R"(")" << info.name << R"(" : {)";
}
void JSONPrinter::print_test_footer()