aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/command_line/CommonOptions.h
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/framework/command_line/CommonOptions.h
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/framework/command_line/CommonOptions.h')
-rw-r--r--tests/framework/command_line/CommonOptions.h34
1 files changed, 18 insertions, 16 deletions
diff --git a/tests/framework/command_line/CommonOptions.h b/tests/framework/command_line/CommonOptions.h
index 651316c557..b29c1d8dd5 100644
--- a/tests/framework/command_line/CommonOptions.h
+++ b/tests/framework/command_line/CommonOptions.h
@@ -25,7 +25,10 @@
#define ARM_COMPUTE_TEST_COMMONOPTIONS
#include "../instruments/Instruments.h"
-#include "CommandLineOptions.h"
+
+#include "utils/command_line/CommandLineOptions.h"
+#include "utils/command_line/CommandLineParser.h"
+
#include <memory>
namespace arm_compute
@@ -34,7 +37,6 @@ namespace test
{
namespace framework
{
-class CommandLineParser;
class Printer;
enum class LogFormat;
enum class LogLevel;
@@ -56,7 +58,7 @@ public:
*
* @param[in,out] parser A parser on which "parse()" hasn't been called yet.
*/
- CommonOptions(CommandLineParser &parser);
+ CommonOptions(arm_compute::utils::CommandLineParser &parser);
/** Prevent instances of this class from being copy constructed */
CommonOptions(const CommonOptions &) = delete;
/** Prevent instances of this class from being copied */
@@ -69,19 +71,19 @@ public:
*/
std::vector<std::unique_ptr<Printer>> create_printers();
- ToggleOption *help; /**< Show help option */
- EnumListOption<InstrumentsDescription> *instruments; /**< Instruments option */
- SimpleOption<int> *iterations; /**< Number of iterations option */
- SimpleOption<int> *threads; /**< Number of threads option */
- EnumOption<LogFormat> *log_format; /**< Log format option */
- SimpleOption<std::string> *log_file; /**< Log file option */
- EnumOption<LogLevel> *log_level; /**< Logging level option */
- ToggleOption *throw_errors; /**< Throw errors option */
- ToggleOption *color_output; /**< Color output option */
- ToggleOption *pretty_console; /**< Pretty console option */
- SimpleOption<std::string> *json_file; /**< JSON output file option */
- SimpleOption<std::string> *pretty_file; /**< Pretty output file option */
- std::vector<std::shared_ptr<std::ofstream>> log_streams; /**< Log streams */
+ arm_compute::utils::ToggleOption *help; /**< Show help option */
+ arm_compute::utils::EnumListOption<InstrumentsDescription> *instruments; /**< Instruments option */
+ arm_compute::utils::SimpleOption<int> *iterations; /**< Number of iterations option */
+ arm_compute::utils::SimpleOption<int> *threads; /**< Number of threads option */
+ arm_compute::utils::EnumOption<LogFormat> *log_format; /**< Log format option */
+ arm_compute::utils::SimpleOption<std::string> *log_file; /**< Log file option */
+ arm_compute::utils::EnumOption<LogLevel> *log_level; /**< Logging level option */
+ arm_compute::utils::ToggleOption *throw_errors; /**< Throw errors option */
+ arm_compute::utils::ToggleOption *color_output; /**< Color output option */
+ arm_compute::utils::ToggleOption *pretty_console; /**< Pretty console option */
+ arm_compute::utils::SimpleOption<std::string> *json_file; /**< JSON output file option */
+ arm_compute::utils::SimpleOption<std::string> *pretty_file; /**< Pretty output file option */
+ std::vector<std::shared_ptr<std::ofstream>> log_streams; /**< Log streams */
};
} // namespace framework