aboutsummaryrefslogtreecommitdiff
path: root/tests/validate_examples/RunExample.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validate_examples/RunExample.cpp')
-rw-r--r--tests/validate_examples/RunExample.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/validate_examples/RunExample.cpp b/tests/validate_examples/RunExample.cpp
index f00460a643..5d5291abfb 100644
--- a/tests/validate_examples/RunExample.cpp
+++ b/tests/validate_examples/RunExample.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2019 ARM Limited.
+ * Copyright (c) 2018-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -172,7 +172,13 @@ int run_example(int argc, char **argv, std::unique_ptr<ValidateExample> example)
}
}
- framework.init(options.instruments->value(), options.iterations->value(), framework::DatasetMode::ALL, "", "", options.log_level->value());
+ // Initialize framework
+ framework::FrameworkConfig fconfig;
+ fconfig.instruments = options.instruments->value();
+ fconfig.num_iterations = options.iterations->value();
+ fconfig.log_level = options.log_level->value();
+ framework.init(fconfig);
+
for(auto &p : printers)
{
framework.add_printer(p.get());