zephyr/tests/drivers
Hu Zhenyu 3cef8e68df tests: drivers: disk: Replace the MAX function with if and else
As the parameter of "MAX" is uint32, the nagetive number will be
bigger than 0. The MAX function does not work as expected. So
change it to if/else form.

Fixes #51146

Signed-off-by: Hu Zhenyu <zhenyu.hu@intel.com>
2022-10-18 21:11:21 -04:00
..
adc tests: ADC API: Add support for MG100 board 2022-10-03 10:11:28 +02:00
bbram ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
build_all drivers: gpio: Add driver for pcf8574 2022-10-03 13:56:32 +02:00
can tests: drivers: can: api: add twai build-test for esp32c3 2022-10-14 09:55:09 +02:00
clock_control include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
console includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
coredump/coredump_api devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
counter tests: counter: add esp32 test case 2022-09-19 18:37:28 +02:00
dac ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
disk tests: drivers: disk: Replace the MAX function with if and else 2022-10-18 21:11:21 -04:00
dma ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
eeprom tests: drivers: eeprom testing on stm32 platforms 2022-10-17 14:41:01 +09:00
entropy/api ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
espi tests: drivers: move the espi test to new ztest API 2022-09-09 16:14:07 -04:00
flash tests: drivers: flash: Fix nrf_qspi_nor_4B_addr requirements 2022-10-04 19:16:37 +00:00
flash_simulator tests: drivers: move the flash simulator test to new ztest API 2022-08-31 21:53:52 +00:00
gpio tests: gpio: add overlays for s32z270dc2_r52 boards 2022-10-14 09:51:14 +02:00
hwinfo/api
i2c tests: drviers: remove superfluous source files 2022-09-12 10:54:18 +00:00
i2s tests: drivers: i2s: i2s_speed: move to new ztest API 2022-09-16 08:35:36 +00:00
ipm includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
kscan/kscan_api tests: drivers: kscan: move to new ztest API 2022-09-09 16:24:20 -04:00
led/led_api tests: drviers: remove superfluous source files 2022-09-12 10:54:18 +00:00
memc/ram includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
mipi_dsi/api tests: drivers move the mipi dsi test to new ztest API 2022-09-01 15:33:25 -04:00
mm/sys_mm_drv_api drivers/mm: Add API to query memory regions 2022-10-01 14:52:29 -04:00
pinctrl ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
pwm tests: drivers: pwm: move the pwm_loopback test to new ztest API 2022-10-03 10:10:15 +02:00
regulator includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
sdhc includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
sensor ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
spi tests: drivers: spi loopback test for DMA on ESP32C3 2022-10-04 10:35:14 +02:00
syscon ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
timer/nrf_rtc_timer tests: drivers: timer: Replace deprecated nrfx API 2022-08-31 10:43:14 +02:00
uart ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
virtualization/ivshmem tests: drivers: virtualization: move the ivshmem tests to new ztest API 2022-09-06 12:36:54 +02:00
w1/w1_api tests/drivers/w1: add ds2485 overlay and configuration 2022-09-09 14:11:30 +00:00
watchdog/wdt_basic_api tests: drivers: watchdog: Add support for GD32 SoCs 2022-10-03 18:07:16 +02:00