zephyr/tests
Gerard Marull-Paretas 55da0217da sys: linear_range: fix index calculation when spanning across groups
When dealing with groups, the specified window in
linear_range_group_get_win_index can span across multiple groups. In the
current implementation, if maximum value was not in the same sub-window
as the minimum value the function would return -EINVAL. This patch fixes
the problem and updates test cases to cover such scenario.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-12-02 11:29:35 +01:00
..
application_development tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
arch tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
benchmarks tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
bluetooth tests: Bluetooth: Remove setting a unused define 2022-12-01 15:50:35 +01:00
boards tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
boot tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
cmake build: Overlay build vars expand ${ZEPHYR_<module>_MODULE_DIR} 2022-10-13 12:04:38 +02:00
crypto tests/mbedtls: Reduce MPU partition usage for picolibc 2022-11-08 10:44:36 +01:00
drivers drivers: entropy: Fix MCUX CAAM Entropy 2022-12-01 17:57:12 +01:00
kernel tests: cache: Add cache test 2022-12-01 13:40:56 -05:00
lib sys: linear_range: fix index calculation when spanning across groups 2022-12-02 11:29:35 +01:00
misc tests: misc: iterable_sections: add const specifier for ROM data 2022-10-12 18:42:28 +02:00
net tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
posix tests: posix: add tests for sleep() and usleep() 2022-11-24 19:31:33 -05:00
subsys tests: logging: log_immediate: Add LOG_PRINTK=n 2022-12-01 00:36:13 +09:00
unit crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
ztest tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00