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> |
||
|---|---|---|
| .. | ||
| abstract_driver.c | ||
| abstract_driver.h | ||
| bad_driver.c | ||
| dummy_driver.c | ||
| main.c | ||
| mmio.c | ||
| test_driver_init.c | ||