From 9ea47f6967ce1c9e4a8bf4174613efdec78a5f44 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Mon, 26 Jun 2017 12:25:35 +0100 Subject: COMPMID-417: Always print seed Change-Id: Iaa44e75c7f1b852ea6317bc199a94cbd6865e6f7 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/78844 Reviewed-by: Georgios Pinitas Tested-by: Kaizen --- tests/benchmark/main.cpp | 1 + tests/validation/main.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/benchmark/main.cpp b/tests/benchmark/main.cpp index acde259d9b..0120aaad6c 100644 --- a/tests/benchmark/main.cpp +++ b/tests/benchmark/main.cpp @@ -90,6 +90,7 @@ int main(int argc, char **argv) #endif std::cout << "Using " << user_config.threads << " CPU " << (user_config.threads == 1 ? "thread" : "threads") << "\n"; + std::cout << "Seed: " << library->seed(); arm_compute::Scheduler::get().set_num_threads(user_config.threads); ::benchmark::RunSpecifiedBenchmarks(); diff --git a/tests/validation/main.cpp b/tests/validation/main.cpp index 844ee36200..22a56d2251 100644 --- a/tests/validation/main.cpp +++ b/tests/validation/main.cpp @@ -62,7 +62,7 @@ struct GlobalFixture library = cpp14::make_unique(user_config.path.get()); } - BOOST_TEST_MESSAGE("Seed: " << library->seed()); + std::cout << "Seed: " << library->seed(); } }; -- cgit v1.2.1