aboutsummaryrefslogtreecommitdiff
path: root/tests/validate_examples
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-07-03 12:06:23 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:10 +0000
commit12be7ab4876f77fecfab903df70791623219b3da (patch)
tree1cfa6852e60948bee9db0831a9f3abc97a2031c8 /tests/validate_examples
parente39334c15c7fd141bb8173d5017ea5ca157fca2c (diff)
downloadComputeLibrary-12be7ab4876f77fecfab903df70791623219b3da.tar.gz
COMPMID-1310: Create graph validation executables.
Change-Id: I9e0b57b1b83fe5a95777cdaeddba6ecef650bafc Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/138697 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validate_examples')
-rw-r--r--tests/validate_examples/RunExample.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/validate_examples/RunExample.cpp b/tests/validate_examples/RunExample.cpp
index 8b1c39b844..b4e5d37648 100644
--- a/tests/validate_examples/RunExample.cpp
+++ b/tests/validate_examples/RunExample.cpp
@@ -33,9 +33,9 @@
#include "tests/Globals.h"
#include "tests/framework/Framework.h"
#include "tests/framework/Macros.h"
-#include "tests/framework/command_line/CommandLineParser.h"
#include "tests/framework/command_line/CommonOptions.h"
#include "tests/framework/instruments/Instruments.h"
+#include "utils/command_line/CommandLineParser.h"
#ifdef ARM_COMPUTE_CL
#include "arm_compute/runtime/CL/CLScheduler.h"
@@ -87,13 +87,13 @@ public:
int run_example(int argc, char **argv, std::unique_ptr<ValidateExample> example)
{
- framework::CommandLineParser parser;
- framework::CommonOptions options(parser);
- auto example_args = parser.add_option<framework::ListOption<std::string>>("example_args");
+ utils::CommandLineParser parser;
+ framework::CommonOptions options(parser);
+ auto example_args = parser.add_option<utils::ListOption<std::string>>("example_args");
example_args->set_help("Arguments to pass to the example separated by commas (e.g: arg0,arg1,arg2)");
- auto seed = parser.add_option<framework::SimpleOption<std::random_device::result_type>>("seed", std::random_device()());
+ auto seed = parser.add_option<utils::SimpleOption<std::random_device::result_type>>("seed", std::random_device()());
seed->set_help("Global seed for random number generation");
- auto validate = parser.add_option<framework::SimpleOption<int>>("validate", 1);
+ auto validate = parser.add_option<utils::SimpleOption<int>>("validate", 1);
validate->set_help("Enable / disable output validation (0/1)");
framework::Framework &framework = framework::Framework::get();