aboutsummaryrefslogtreecommitdiff
path: root/framework/printers/JSONPrinter.cpp
diff options
context:
space:
mode:
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()