From 12be7ab4876f77fecfab903df70791623219b3da Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 3 Jul 2018 12:06:23 +0100 Subject: COMPMID-1310: Create graph validation executables. Change-Id: I9e0b57b1b83fe5a95777cdaeddba6ecef650bafc Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/138697 Reviewed-by: Anthony Barbier Tested-by: Jenkins --- tests/main.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tests/main.cpp') diff --git a/tests/main.cpp b/tests/main.cpp index 4a8a82d490..ae9a47e1d4 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -28,11 +28,11 @@ #include "tests/framework/Framework.h" #include "tests/framework/Macros.h" #include "tests/framework/Profiler.h" -#include "tests/framework/command_line/CommandLineOptions.h" -#include "tests/framework/command_line/CommandLineParser.h" #include "tests/framework/command_line/CommonOptions.h" #include "tests/framework/instruments/Instruments.h" #include "tests/framework/printers/Printers.h" +#include "utils/command_line/CommandLineOptions.h" +#include "utils/command_line/CommandLineParser.h" #ifdef ARM_COMPUTE_CL #include "arm_compute/runtime/CL/CLScheduler.h" @@ -72,7 +72,7 @@ int main(int argc, char **argv) framework::Framework &framework = framework::Framework::get(); - framework::CommandLineParser parser; + utils::CommandLineParser parser; std::set allowed_modes { @@ -83,23 +83,23 @@ int main(int argc, char **argv) framework::CommonOptions options(parser); - auto dataset_mode = parser.add_option>("mode", allowed_modes, framework::DatasetMode::PRECOMMIT); + auto dataset_mode = parser.add_option>("mode", allowed_modes, framework::DatasetMode::PRECOMMIT); dataset_mode->set_help("For managed datasets select which group to use"); - auto filter = parser.add_option>("filter", ".*"); + auto filter = parser.add_option>("filter", ".*"); filter->set_help("Regular expression to select test cases"); - auto filter_id = parser.add_option>("filter-id"); + auto filter_id = parser.add_option>("filter-id"); filter_id->set_help("List of test ids. ... can be used to define a range."); - auto stop_on_error = parser.add_option("stop-on-error"); + auto stop_on_error = parser.add_option("stop-on-error"); stop_on_error->set_help("Abort execution after the first failed test (useful for debugging)"); - auto seed = parser.add_option>("seed", std::random_device()()); + auto seed = parser.add_option>("seed", std::random_device()()); seed->set_help("Global seed for random number generation"); - auto list_tests = parser.add_option("list-tests", false); + auto list_tests = parser.add_option("list-tests", false); list_tests->set_help("List all test names"); - auto test_instruments = parser.add_option("test-instruments", false); + auto test_instruments = parser.add_option("test-instruments", false); test_instruments->set_help("Test if the instruments work on the platform"); - auto error_on_missing_assets = parser.add_option("error-on-missing-assets", false); + auto error_on_missing_assets = parser.add_option("error-on-missing-assets", false); error_on_missing_assets->set_help("Mark a test as failed instead of skipping it when assets are missing"); - auto assets = parser.add_positional_option>("assets"); + auto assets = parser.add_positional_option>("assets"); assets->set_help("Path to the assets directory"); try -- cgit v1.2.1