Revert "testsuite: ztress: Add test skipping if system clock is too high"
This reverts commit 913868b6c4
.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
b4d28a8186
commit
421dcc8dcd
1 changed files with 0 additions and 9 deletions
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include <ztress.h>
|
||||
#include <ztest_test.h>
|
||||
#include <sys/printk.h>
|
||||
#include <random/rand32.h>
|
||||
#include <string.h>
|
||||
|
@ -320,14 +319,6 @@ int ztress_execute(struct ztress_context_data *timer_data,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* Skip test if system clock is set too high compared to CPU frequency.
|
||||
* It can happen when system clock is set globally for the test which is
|
||||
* run on various platforms. 1000 factor is an arbitrary value.
|
||||
*/
|
||||
if ((sys_clock_hw_cycles_per_sec() / CONFIG_SYS_CLOCK_TICKS_PER_SEC) < 1000) {
|
||||
ztest_test_skip();
|
||||
}
|
||||
|
||||
ztress_init(thread_data);
|
||||
|
||||
context_cnt = cnt + (timer_data ? 1 : 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue