zephyr/tests
Andy Ross 4898e2c613 tests/kernel/common: Skip boot delay tests on systems that are too fast
First, this test is a little suspect.  It's assuming that the value
returned from k_cycle_get_32() represents the time since system
power-on.  While that's an obvious implementation choice and surely
often true, it's definitely not the way we document this API to the
arch layer.  It's perfectly legal for a platform to return any value
as long as the counter is increasing at the correct rate.  Leaving for
now as there's no other way to test CONFIG_BOOT_DELAY, but this will
likely be coming back to confuse us at some point.

Regardless, that convention holds for x86 devices using any of the
existing drivers.  But on an EFI PC using the TSC counter as the clock
source: (1) the counter is running at 1-2 GHz and (2) the time to get
through an EFI BIOS and into Zephyr is routinely 10+ seconds,
especially on reference hardware.  The poor 32 bit API will roll over
several times, and effectively be a random number by the time it
reaches this test.

Just skip this test with fast counter.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-05-07 16:48:58 -04:00
..
application_development/gen_inc_file tests: move cpp tests to subsys/cpp 2021-04-29 09:00:40 -04:00
arch tests: arch: arm: arm_no_multithreading: Add physical platforms 2021-05-07 14:40:27 +02:00
benchmarks tests: benchmarks: remove obsolete boot_time test suite 2021-05-05 10:41:15 -04:00
bluetooth Bluetooth: Audio: BSIM test suite for VCS 2021-05-07 15:02:41 +02:00
boards tests: intel_s1000_crb: remove unused and wrong implemented callbacks 2021-04-20 15:06:35 +02:00
crypto tests: crypto: Add a unnormal testing condition 2021-03-09 05:10:54 -05:00
drivers tests: driver: can: canfd: Add CAN-FD tests 2021-05-07 12:36:10 -05:00
kernel tests/kernel/common: Skip boot delay tests on systems that are too fast 2021-05-07 16:48:58 -04:00
lib tests: fix testcase.yaml files 2021-05-07 09:39:08 -05:00
misc/test_build
net net/virtual: test case need have random generator driver 2021-05-07 08:53:10 -05:00
posix tests: posix: Fix unchecked return coverity error 2021-04-01 04:52:10 -04:00
subsys tests: fix testcase.yaml files 2021-05-07 09:39:08 -05:00
unit tests: unit: cbprintf: Update test after adding alignment parameter 2021-03-29 14:08:41 +02:00
ztest board: qemu_arc: skip trigger_fault_divide_zero test case 2021-05-07 13:15:13 +02:00