From dacb6fb55d16c64cb91466f292ef0344495d9ff6 Mon Sep 17 00:00:00 2001 From: mikee47 Date: Fri, 12 Jan 2024 21:43:10 +0000 Subject: [PATCH] Reduce Host test loops from 2000 to 50 Runs more slowly on Host --- tests/HostTests/modules/Clocks.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/HostTests/modules/Clocks.cpp b/tests/HostTests/modules/Clocks.cpp index 75cb063a33..b6c78fc775 100644 --- a/tests/HostTests/modules/Clocks.cpp +++ b/tests/HostTests/modules/Clocks.cpp @@ -26,7 +26,11 @@ template class ClockTestTemplate : public TestG { printLimits(); - for(unsigned i = 0; i < 2000; ++i) { + unsigned loopCount{2000}; +#ifdef ARCH_HOST + loopCount = 50; +#endif + while(loopCount--) { auto value = os_random(); check(value); check(value);