zephyr/tests
Nicolas Pitre 141299fb80 tests: timer_behavior: better cope with timer wrap-arounds
Commit a1d21ca69b ("tests: timer_behavior: don't fail the test with
timer wrap-arounds") simply ignored the total time validation whenever
any rollover was detected. Let's adjust the end timestamp according
to the number of rollovers instead.

Documentation for sys_clock_cycle_get_32() says it should count up
monotonically through the full 32 bit space, wrapping at 0xffffffff.
Therefore we just need to add 2^32 times the number of rollovers to
the end timestamp.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2023-07-18 21:36:57 +00:00
..
application_development tests: code_relocation: support mr_canhubk3 boards 2023-07-14 09:38:43 +02:00
arch tests: arch: arm: Use a more common SHA algorithm 2023-07-13 10:44:08 +02:00
benchmarks tests: cleanup metadata and filtering 2023-06-13 09:38:27 -04:00
bluetooth Bluetooth: audio: tbs_client: Minor Kconfig refactor 2023-07-18 11:06:57 +00:00
boards inte_adsp: ipc: prevent ipc message send during Device power transition 2023-06-22 06:14:57 -04:00
boot arch: x86: updated acpi config macro 2023-06-30 17:53:01 +03:00
bsim tests: Bluetooth: Add testing of invalid input for BAP broadcast source 2023-07-18 16:20:14 +02:00
cmake tests: snippets: Rework the snippet test 2023-05-25 21:51:26 +02:00
crypto tests: cleanup metadata and filtering 2023-06-13 09:38:27 -04:00
drivers tests: drivers: dma: Added the 595 to chan link testcase.yml 2023-07-18 16:20:21 +02:00
kernel tests: timer_behavior: better cope with timer wrap-arounds 2023-07-18 21:36:57 +00:00
lib tests: lib: json: add extra nested array 2dim tests 2023-07-18 11:06:39 +00:00
misc tests: misc: check_init_priorities: check for zephyr_pre1 target 2023-06-21 09:32:05 +02:00
net tests: coap_client: Zero-initialize address structures 2023-07-18 16:22:10 +02:00
posix test: posix: signal: add test for big nsig number 2023-07-18 15:35:42 -04:00
robot Twister: Add integration with renode-test 2023-05-26 09:43:49 -04:00
subsys tests: mgmt: mcumgr: all_options: Fix missing Kconfig 2023-07-17 10:40:24 +00:00
unit samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ztest tests: cleanup metadata and filtering 2023-06-13 09:38:27 -04:00
test_config.yaml twister: add support for levels and test configuration 2023-03-07 15:49:16 +01:00