zephyr/tests/kernel/device/src
Kumar Gala 658151da3e tests: device: tweak test to test linker sorting
There was a linker script change the broke the sorting such that
priority 2 and 20 would not necessary get sorted correctly.  Modify
the test to try and catch any such issues in the future.

We modify the DEVICE_DEFINE of the larger priority first, so if the
linker isn't sorting it would get linked first in theory, and we also
tweak the priority value from 4 to 20 so if we aren't sorting correctly
between 2 and 20 we'll catch that.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-03-26 11:25:01 -04:00
..
abstract_driver.c tests: convert DEVICE_AND_API_INIT to DEVICE_DEFINE 2020-12-19 20:05:40 -05:00
abstract_driver.h
bad_driver.c tests: convert DEVICE_AND_API_INIT to DEVICE_DEFINE 2020-12-19 20:05:40 -05:00
dummy_driver.c tests: convert DEVICE_AND_API_INIT to DEVICE_DEFINE 2020-12-19 20:05:40 -05:00
main.c device: remove deprecated device_list_get 2021-03-22 10:15:26 -05:00
mmio.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
test_driver_init.c tests: device: tweak test to test linker sorting 2021-03-26 11:25:01 -04:00