1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests
Kevin "Tristate Tom" Weiss e3f6212708
Merge pull request #17355 from leandrolanzieri/pr/boards/samd21/model_kconfig
boards/samd21-based: model Kconfig
2021-12-15 12:35:32 +01:00
..
backtrace tests/backtrace: make test regexp a bit more loose 2021-11-10 20:38:25 +01:00
bench_msg_pingpong tests/bench_msg_pingpong: add stdint.h include (for clang & stdatomic.h) 2021-09-22 20:44:42 +02:00
bench_mutex_pingpong treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
bench_runtime_coreapis
bench_sched_nop
bench_sizeof_coretypes core: make SCHED_TEST_STACK boolean and default to 1 with DEVELHELP 2021-11-05 09:27:00 +01:00
bench_sys_atomic_utils sys/benchmark: Convert to ztimer 2021-11-15 14:14:23 +01:00
bench_sys_base64
bench_thread_flags_pingpong
bench_thread_yield_pingpong
bench_timers
bench_xtimer boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
bench_xtimer_load treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
bench_ztimer tests/bench_ztimer: add port of bench_xtimer 2021-12-14 12:39:17 +01:00
bitarithm_timings tests/bitalgorithm_timings: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
blob
bloom_bytes
board_microbit tests/board_calliope-mini: merge into tests/microbit, add Kconfig 2021-11-26 10:39:40 +01:00
build_system_cflags_spaces treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
build_system_utils
buttons
c11_atomics_cpp_compat
can_trx
candev tests/candev: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
cb_mux
cb_mux_bench
cond_order boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
congure_test tests/congure: reset before opening terminal 2021-06-17 11:05:07 +02:00
conn_can
cortexm_common_ldscript
cpp11_condition_variable
cpp11_mutex
cpp11_thread
cpp_ctors
cpp_exclude
cpp_ext
cpu_avr8_xmega_drivers boards: Introduce atxmega-a1-xplained board 2021-08-24 21:25:14 -03:00
cpu_cortexm_address_check
cpu_efm32_drivers
cpu_efm32_features
dbgpin
deferred_yield_higher tests/deferred_yield_higher: initial commit 2021-08-24 09:49:53 +02:00
devfs
disp_dev Revert "tests: Exclude atxmega-a1u-xpro board due low mem" 2021-08-24 08:35:41 -03:00
driver_ad7746 drivers/ad7746: migrate to ztimer 2021-12-11 16:53:14 +01:00
driver_adcxx1c
driver_ads101x tests/driver_ads101x: exclude nucleo-l011k4 because of low memory 2021-11-04 16:21:08 +01:00
driver_adt7310
driver_adxl345
driver_aip31068
driver_apa102
driver_apds99xx drivers/apds99xx/Kconfig: fix multimodel selection 2021-12-08 13:25:26 +01:00
driver_apds99xx_full drivers/apds99xx/Kconfig: fix multimodel selection 2021-12-08 13:25:26 +01:00
driver_at Revert "tests: Exclude atxmega-a1u-xpro board due low mem" 2021-08-24 08:35:41 -03:00
driver_at24cxxx
driver_at24mac
driver_at25xxx
driver_at30tse75x
driver_at86rf2xx treewide: remove mentions of 'fox' BOARD 2021-10-20 13:53:26 +02:00
driver_at86rf2xx_aes
driver_at86rf215 tests/driver_at86rf215: remove gnrc_netif_get_by_type dependency 2021-10-05 14:35:08 +02:00
driver_ata8520e
driver_atwinc15x0
driver_bh1750
driver_bh1900nux
driver_bme680 pkg/driver_bme680: migrate to ztimer 2021-12-01 17:54:55 +01:00
driver_bmp180 tests/driver_bmp180: migrate to ztimer 2021-11-02 14:57:50 +01:00
driver_bmx055
driver_bmx280 drivers/bmx280: rework Kconfig model 2021-11-18 09:03:07 +01:00
driver_bq2429x
driver_cc110x doc: replace ping6 with ping 2021-11-29 17:32:37 +01:00
driver_ccs811 drivers/ccs811: migrate to ztimer 2021-12-08 15:15:30 +01:00
driver_ccs811_full drivers/ccs811: migrate to ztimer 2021-12-08 15:15:30 +01:00
driver_cst816s
driver_dac_dds
driver_dcf77
driver_dfplayer
driver_dht drivers/dht: correct interpreting raw values 2021-11-20 14:55:02 +01:00
driver_dose tests/driver_dose: use USEMODULE += 2021-12-08 17:35:00 +01:00
driver_ds18
driver_ds75lx
driver_ds1307
driver_ds3231
driver_ds3234
driver_dsp0401 drivers/dsp0401: migrate to ztimer 2021-11-23 15:58:56 +01:00
driver_dynamixel
driver_edbg_eui
driver_enc28j60 doc: replace ping6 with ping 2021-11-29 17:32:37 +01:00
driver_encx24j600 doc: replace ping6 with ping 2021-11-29 17:32:37 +01:00
driver_feetech
driver_fxos8700
driver_gp2y10xx
driver_grove_ledbar
driver_hd44780
driver_hdc1000
driver_hih6130
driver_hmc5883l
driver_hsc
driver_hts221
driver_ili9341 tests/driver_ili9341: add NO_RIOT_IMAGE option to Kconfig 2021-11-22 12:25:57 +01:00
driver_ina2xx
driver_ina3221 tests/driver_ina3221: test refactor 2021-07-07 08:40:02 +02:00
driver_io1_xplained tests/driver_io1_xplained: use ztimer 2021-12-09 14:00:39 +01:00
driver_isl29020
driver_isl29125
driver_itg320x treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
driver_jc42
driver_kw2xrf tests/driver_kw2xrf: use gnrc for test 2021-09-06 15:43:40 +02:00
driver_l3g4200d
driver_lc709203f
driver_lis2dh12 drivers/lis2dh12: migrate to ztimer 2021-12-11 16:53:14 +01:00
driver_lis3dh treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
driver_lis3mdl drivers/lis3mdl: fix timer dep + migrate app to ztimer 2021-12-12 10:45:09 +01:00
driver_lm75 tests/driver_lm75: don't abort if alarm pin is not connected 2021-09-20 14:50:23 +02:00
driver_lpd8808 treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
driver_lpsxxx drivers/lpsxxx: Allow SAUL_DEFAULT in kconfig 2021-12-14 16:17:06 +01:00
driver_lsm6dsl drivers/lsm6dsl: migrate to ztimer 2021-12-08 15:15:30 +01:00
driver_lsm303dlhc
driver_ltc4150
driver_mag3110
driver_mhz19 drivers/mhz19: migrate to ztimer 2021-12-01 14:32:41 +01:00
driver_mma8x5x
driver_mma7660
driver_motor_driver treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
driver_mpl3115a2
driver_mpu9x50 drivers/mpu9x50: migrate to ztimer 2021-12-09 09:32:31 +01:00
driver_mq3
driver_mrf24j40 Revert "tests: Exclude atxmega-a1u-xpro board due low mem" 2021-08-24 08:35:41 -03:00
driver_my9221
driver_netdev_common tests/driver_xbee: uncrustify, format Makefile 2021-11-02 21:46:19 +01:00
driver_nrf24l01p_lowlevel treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
driver_nrf24l01p_ng Revert "tests: Exclude atxmega-a1u-xpro board due low mem" 2021-08-24 08:35:41 -03:00
driver_nrfmin tests: remove unneeded netdev_default 2021-09-06 15:48:28 +02:00
driver_nvram_spi
driver_opt3001
driver_pca9633
driver_pca9685
driver_pcd8544
driver_pcf857x tests: add PCF957X driver test application 2021-12-04 14:11:04 +01:00
driver_ph_oem treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
driver_pir
driver_pn532 drivers/pn532: migrate to ztimer 2021-12-11 17:56:39 +01:00
driver_pulse_counter drivers/pulse_counter: migrate to ztimer 2021-12-11 17:56:39 +01:00
driver_qmc5883l
driver_rn2xx3
driver_scd30
driver_sdcard_spi
driver_sdp3x
driver_sds011
driver_seesaw_soil
driver_servo
driver_sgp30
driver_sht1x drivers/sht1x: rework Kconfig 2021-12-01 10:14:35 +01:00
driver_sht2x
driver_sht3x
driver_shtc1 drivers/shtc1: migrate to ztimer 2021-12-11 17:56:39 +01:00
driver_si70xx drivers/si70xx: migrate to ztimer 2021-12-09 09:32:31 +01:00
driver_si114x drivers/si114x: migrate to ztimer 2021-12-08 15:15:30 +01:00
driver_si1133
driver_sm_pwm_01c sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
driver_soft_spi
driver_soft_uart drivers/soft_uart: fix type usage 2021-11-18 10:14:51 +01:00
driver_sps30 drivers/sps30: fix unused include, migrate to ztimer 2021-12-11 17:56:39 +01:00
driver_srf02
driver_srf04
driver_srf08
driver_stmpe811 drivers/stmpe811: migrate to ztimer 2021-12-08 15:15:30 +01:00
driver_sx126x drivers/sx126x/Kconfig: rework model selection 2021-11-29 10:45:10 +01:00
driver_sx127x drivers/sx127x/kconfig: rework modelling 2021-11-26 11:06:50 +01:00
driver_tcs37727
driver_tmp00x drivers/tmp00x/kconfig: rework modelling 2021-12-07 11:32:16 +01:00
driver_tps6274x
driver_tsl2561 drivers/tsl2561: migrate to ztimer 2021-12-08 15:15:30 +01:00
driver_tsl4531x
driver_vcnl40x0
driver_veml6070
driver_w5100 Revert "tests: Exclude atxmega-a1u-xpro board due low mem" 2021-08-24 08:35:41 -03:00
driver_ws281x drivers/ws281x: pull xtimer module from test application 2021-12-11 17:56:40 +01:00
driver_xbee tests/driver_xbee: uncrustify, format Makefile 2021-11-02 21:46:19 +01:00
eepreg
embunit
emcute boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
entropy_source
event_thread_shared
event_threads
event_wait_timeout
event_wait_timeout_ztimer
event_ztimer sys/include/event/periodic: add count 2021-12-07 19:42:32 +01:00
events tests/event: fix ztimer_usec ifdef 2021-12-07 10:04:04 +01:00
evtimer_mbox
evtimer_msg
evtimer_underflow
external_board_dirs
external_board_native treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
external_module_dirs tests: default to musl LCG 2021-11-29 13:46:26 +01:00
fault_handler tests/fault_handler: Suppress cppcheck errors 2021-11-25 13:08:51 +01:00
float
fmt_print
frac-config
gnrc_dhcpv6_client boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_dhcpv6_client_6lbr boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_dhcpv6_client_stateless boards/calliope-mini: add nrf51 common dependencies 2021-11-26 08:48:23 +01:00
gnrc_dhcpv6_relay boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_gomach treewide: replace gnrc_netdev_default with netdev_default 2021-09-06 15:43:40 +02:00
gnrc_ipv6_ext boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_ipv6_ext_frag tests/gnrc_ipv6_ext_frag: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
gnrc_ipv6_ext_opt boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_ipv6_fwd_w_sub boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_ipv6_nib boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_ipv6_nib_6ln boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_ipv6_nib_dns boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_lorawan tests/gnrc_lorawan: add initial tests 2021-08-02 18:29:46 +02:00
gnrc_lwmac treewide: replace gnrc_netdev_default with netdev_default 2021-09-06 15:43:40 +02:00
gnrc_mac_timeout boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_ndp boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_netif boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_netif_ieee802154 tests/gnrc_netif_ieee802154: explicitely use netdev 2021-11-18 11:51:14 +01:00
gnrc_netif_ipv6_wait_for_global_address boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_rpl_p2p boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_rpl_srh boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_sixlowpan boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_sixlowpan_frag
gnrc_sixlowpan_frag_minfwd tests/gnrc_sixlowpan_frag_minfwd: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
gnrc_sixlowpan_frag_sfr tests/gnrc_sixlowpan_frag_sfr: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
gnrc_sixlowpan_iphc_w_vrb boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_sock_async_event sys/net/sock: Set SOCK_HAS_IPV6 in one place 2021-10-11 21:37:39 +02:00
gnrc_sock_dns boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_sock_ip tests/gnrc_sock_ip: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
gnrc_sock_neterr
gnrc_sock_tcp boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_sock_udp tests/gnrc_sock_udp: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
gnrc_tcp boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
gnrc_tx_sync tests/gnrc_tx_sync: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
gnrc_udp boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
heap_cmd
ieee802154_hal tests/ieee802154_hal: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
ieee802154_security boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
ieee802154_submac tests/ieee802154_submac: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
irq treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
irq_disable_restore tests/irq_disable_restore: test irq_is_enabled() 2021-08-25 08:01:05 +02:00
isr_yield_higher
kconfig
kconfig_features
l2util
leds treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
libc_newlib treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
log_color tests/log_color: add kconfig configuration 2021-12-02 09:41:46 +01:00
log_printfnoformat tests/log_printfnoformat: add kconfig configuration 2021-12-02 09:41:46 +01:00
lua_loader
lwip tests/lwip: Don't control IPv6 usage from IPv4 2021-11-09 23:26:26 +01:00
lwip_sock_ip tests/lwip_sock_ip: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
lwip_sock_tcp tests/lwip_sock: Don't control IPv6 usage from IPv4 2021-11-06 18:01:06 +01:00
lwip_sock_udp tests/lwip_sock_udp: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
malloc tests/malloc: fix counting bug 2021-12-03 10:09:46 +01:00
malloc_thread_safety
mcuboot pycrypto: use pycryptodome instead 2021-11-02 13:28:42 +01:00
memarray treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
minimal
mpu_noexec_ram
mpu_stack_guard
msg_avail
msg_queue_print tests/msg_queue_print: fix test on hw 2021-06-04 13:37:21 +02:00
msg_send_receive
msg_try_receive
mtd_at24cxxx
mtd_at25xxx
mtd_flashpage drivers/mtd: fix Kconfig dependencies 2021-09-22 09:22:51 +02:00
mtd_mapper
mtd_raw tests/mtd_raw: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
mutex_cancel
mutex_order boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
mutex_unlock_and_sleep
nanocoap_cli boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
netdev_test netdev_test: avoid explicit cast to netdev 2021-07-09 11:35:19 +02:00
netstats_l2 treewide: replace gnrc_netdev_default with netdev_default 2021-09-06 15:43:40 +02:00
netstats_neighbor boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
netutils boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
nimble_autoconn_ccnl treewide: replace gnrc_netdev_default with netdev_default 2021-09-06 15:43:40 +02:00
nimble_autoconn_gnrc tests: remove unneeded netdev_default 2021-09-06 15:48:28 +02:00
nimble_ext_adv tests: add test for NimBLE ext adv scanner config 2021-12-02 23:31:33 +01:00
nimble_l2cap treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
nimble_l2cap_server tests/nimble_l2cap: adapt buffer sizes 2021-06-10 10:02:10 +02:00
nimble_rpble_gnrc doc: replace ping6 with ping 2021-11-29 17:32:37 +01:00
nimble_statconn_gnrc tests: remove unneeded netdev_default 2021-09-06 15:48:28 +02:00
od
pbkdf2 treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
periph_adc tests/periph_adc: migrate to ztimer 2021-12-07 09:28:58 +01:00
periph_backup_ram
periph_cpuid
periph_dac treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
periph_dma
periph_eeprom treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
periph_flashpage periph/flashpage: extend API 2021-10-19 22:33:09 +02:00
periph_flashpage_unittest
periph_gpio tests/periph_gpio: cleanup ztimer dependency 2021-12-02 07:04:06 +01:00
periph_gpio_arduino sys/arduino: Add Kconfig model 2021-07-02 15:11:09 +02:00
periph_hwrng
periph_i2c tests: update to new I2C API 2021-11-29 06:35:25 +01:00
periph_pm tests/periph_pm: select ztimer_no_periph_rtt for sam0 boards 2021-12-15 10:31:19 +01:00
periph_ptp_clock treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
periph_ptp_timer
periph_pwm
periph_qdec boards: model nrf52 boards 2021-12-08 13:25:29 +01:00
periph_rtc tests/periph_rtc/kconfig: do not use rtt on ztimer 2021-12-15 10:31:19 +01:00
periph_rtt */rtt|rtc: Fix Kconfig modeling 2021-10-14 11:28:44 +02:00
periph_rtt_min tests/periph_rtt_min: update CPUs with configurable rtt freq 2021-12-14 13:19:15 +01:00
periph_spi Merge pull request #17216 from bergzand/pr/ps_schedstatistics/ztimer 2021-12-07 20:22:58 +01:00
periph_spi_dma Merge pull request #17216 from bergzand/pr/ps_schedstatistics/ztimer 2021-12-07 20:22:58 +01:00
periph_timer boards: Introduce atxmega-a1-xplained board 2021-08-24 21:25:14 -03:00
periph_timer_periodic
periph_timer_short_relative_set
periph_uart Merge pull request #16681 from benpicco/drivers/dose-collision 2021-12-08 20:48:28 +01:00
periph_uart_mode treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
periph_uart_nonblocking
periph_wdt
phydat_dump
pipe
pkg_arduino_sdi_12 tests/pkg_arduino_sdi_12: add some insufficient memory boards 2021-11-18 09:00:35 +01:00
pkg_c25519 tests: default to musl LCG 2021-11-29 13:46:26 +01:00
pkg_cayenne-lpp
pkg_cifra tests: default to musl LCG 2021-11-29 13:46:26 +01:00
pkg_cmsis-dsp treewide: remove mentions of 'fox' BOARD 2021-10-20 13:53:26 +02:00
pkg_cmsis-nn tests/pkg_cmsis-nn: add -Wno-cast-align 2021-12-03 10:12:36 +01:00
pkg_cn-cbor
pkg_corejson tests: add corejson package test application 2021-10-17 18:13:41 +02:00
pkg_cryptoauthlib_compare_sha256
pkg_cryptoauthlib_internal-tests boards: Introduce atxmega-a1-xplained board 2021-08-24 21:25:14 -03:00
pkg_edhoc_c treewide: replace gnrc_netdev_default with netdev_default 2021-09-06 15:43:40 +02:00
pkg_elk tests: add test application for Elk package 2021-11-04 12:38:21 +01:00
pkg_emlearn tests/pkg_emlearn: fix compilation with -Wcast-align 2021-12-03 10:12:37 +01:00
pkg_fatfs treewide: remove mentions of 'fox' BOARD 2021-10-20 13:53:26 +02:00
pkg_fatfs_vfs tests/pkg_fatfs_vfs: adapt test to work with mtd_mci and SD card 2021-12-01 11:15:16 +01:00
pkg_fff tests: update to new I2C API 2021-11-29 06:35:25 +01:00
pkg_flatbuffers
pkg_hacl tests: default to musl LCG 2021-11-29 13:46:26 +01:00
pkg_heatshrink
pkg_jsmn
pkg_libb2 boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
pkg_libbase58
pkg_libcose tests: default to musl LCG 2021-11-29 13:46:26 +01:00
pkg_libfixmath treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
pkg_libfixmath_unittests boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
pkg_libhydrogen tests: default to musl LCG 2021-11-29 13:46:26 +01:00
pkg_littlefs
pkg_littlefs2 boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
pkg_lora-serialization
pkg_lvgl pkg/lvgl: use ztimer instead of xtimer 2021-10-21 18:23:39 +02:00
pkg_lvgl_touch boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
pkg_lz4 tests: add test application for lz4 package 2021-11-19 11:39:37 +01:00
pkg_micro-ecc tests: default to musl LCG 2021-11-29 13:46:26 +01:00
pkg_micro-ecc-with-hwrng
pkg_microcoap boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
pkg_minmea
pkg_monocypher tests: default to musl LCG 2021-11-29 13:46:26 +01:00
pkg_nanocbor
pkg_nanopb Revert "tests: Exclude atxmega-a1u-xpro board due low mem" 2021-08-24 08:35:41 -03:00
pkg_openwsn doc: replace ping6 with ping 2021-11-29 17:32:37 +01:00
pkg_openwsn_sock_udp tests/pkg_openwsn_sock_udp: silence -Wcast-align 2021-12-03 10:12:36 +01:00
pkg_qcbor
pkg_qdsa tests: default to musl LCG 2021-11-29 13:46:26 +01:00
pkg_qr-code-generator tests/pkg_qr-code-generator: remove dependency to auto_init_screen 2021-05-25 14:22:25 +02:00
pkg_relic tests/pkg_relic: update for bumped upstream 2021-11-09 13:48:49 +01:00
pkg_semtech-loramac tests/pkg_semtech-loramac: add pending data indication 2021-10-18 14:07:21 +02:00
pkg_spiffs boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
pkg_tensorflow-lite boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
pkg_tiny-asn1 pkg/tiny-asn1: Adapt unit test to new package version 2021-10-03 21:20:09 +02:00
pkg_tinycbor
pkg_tinycrypt
pkg_tinydtls_sock_async boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
pkg_tweetnacl tests: default to musl LCG 2021-11-29 13:46:26 +01:00
pkg_u8g2 pkg/u8g2: migrate to ztimer 2021-12-01 17:54:55 +01:00
pkg_ubasic
pkg_ucglib Merge pull request #17347 from fjmolinas/pr_ucglib_sdl 2021-12-07 16:56:01 +01:00
pkg_umorse sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
pkg_utensor tests/pkg_utensor: fix alignment bug 2021-12-03 10:12:38 +01:00
pkg_uzlib tests: add test for the uzlib package 2021-11-17 15:37:12 +01:00
pkg_wolfcrypt-ed25519-verify treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
pkg_wolfssl boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
pkg_yxml
posix_semaphore boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
posix_sleep sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
prng_sha1prng
prng_sha256prng
progress_bar
ps_schedstatistics tests/ps_schedstatistics: Generate load using ztimer 2021-12-07 16:31:15 +01:00
pthread
pthread_barrier tests/thread_pthread_barrier: Remove f string in test 2021-11-29 09:29:06 +01:00
pthread_cleanup
pthread_condition_variable
pthread_cooperation
pthread_flood
pthread_rwlock boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
pthread_tls treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
puf_sram
riotboot
riotboot_flashwrite treewide: replace gnrc_netdev_default with netdev_default 2021-09-06 15:43:40 +02:00
riotboot_hdr
rmutex boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
rmutex_cpp boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
rng Merge pull request #17188 from benpicco/sys/random-musl_lcg-default 2021-11-30 23:28:48 +01:00
saul tests/saul: add Kconfig 2021-11-26 10:39:40 +01:00
sched_testing
sema treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
shell
slip boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
sntp boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
sock_udp_aux boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
socket_zep socket_zep: port to radio HAL 2021-11-18 11:51:14 +01:00
ssp
stdin
stm32_bootloader
struct_tm_utility treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
suit_manifest boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
sys_architecture sys/architecture: add HAS_ALIGNMENT_OF() helper 2021-11-11 10:57:26 +01:00
sys_arduino tests/sys_arduino: skip atmega328p based boards from ci 2021-06-17 10:29:27 +02:00
sys_arduino_analog
sys_arduino_lib
sys_atomic_utils tests: default to musl LCG 2021-11-29 13:46:26 +01:00
sys_atomic_utils_unittests Merge pull request #17188 from benpicco/sys/random-musl_lcg-default 2021-11-30 23:28:48 +01:00
sys_crypto boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
sys_crypto_aes_ccm boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
sys_fido2_ctap FIDO2 support in RIOT 2021-09-08 15:22:40 +02:00
sys_ptrtag
sys_sched_round_robin test/sys_sched_round_robin: use sleep instead of mutex 2021-12-08 13:14:27 +01:00
sys_sema_inv
sys_stdio_semihosting
test_tools treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
thread_basic
thread_cooperation boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
thread_exit
thread_flags treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
thread_flags_xtimer
thread_float tests/thread_float: Remove f string in test 2021-11-29 09:28:35 +01:00
thread_flood
thread_msg
thread_msg_block_race
thread_msg_block_w_queue
thread_msg_block_wo_queue
thread_msg_bus
thread_msg_seq treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
thread_priority_inversion treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
thread_race
thread_zombie
touch_dev tests/{disp,touch}_dev: remove dependency to auto_init_screen 2021-05-25 14:21:58 +02:00
trace tests/trace: add Kconfig 2021-12-04 12:03:14 +01:00
trickle tests/trickle: use ztimer instead of xtimer 2021-06-14 09:04:25 +02:00
turo tests/turo: Remove OUTPUT_FORMAT and use default 2021-11-16 08:37:45 +01:00
turo_txt tests/turo_txt: Add turo_txt tests 2021-11-22 09:30:01 +01:00
unittests Merge pull request #17368 from kaspar030/fix_ztimer64_uninitialized_timer_crash 2021-12-09 16:51:06 +01:00
usbus usbdev_mock: Adapt to xmit API 2021-11-16 20:16:59 +01:00
usbus_cdc_acm_stdio treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
usbus_cdc_ecm doc: replace ping6 with ping 2021-11-29 17:32:37 +01:00
usbus_hid FIDO2 support in RIOT 2021-09-08 15:22:40 +02:00
vfs_plus_stdio tests/vfs_plus_stdio: add Kconfig configuration 2021-11-29 10:33:56 +01:00
warn_conflict
xfa
xtimer_drift
xtimer_hang treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
xtimer_longterm treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
xtimer_msg
xtimer_msg_receive_timeout
xtimer_mutex_lock_timeout treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
xtimer_now32_overflow
xtimer_now64_continuity
xtimer_now_irq
xtimer_overhead
xtimer_periodic_wakeup
xtimer_remove
xtimer_reset
xtimer_rmutex_lock_timeout
xtimer_usleep
xtimer_usleep_short
ztimer64_msg tests/ztimer64_msg: initial commit 2021-12-08 10:33:37 +01:00
ztimer_msg tests: remove uneeded explicit inclusion of ztimer_periph_rt* 2021-12-02 07:54:38 +01:00
ztimer_mutex_lock_timeout sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
ztimer_overhead sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
ztimer_periodic sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
ztimer_rmutex_lock_timeout sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
ztimer_underflow tests: remove uneeded explicit inclusion of ztimer_periph_rt* 2021-12-02 07:54:38 +01:00
ztimer_xsec sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
Makefile.boards.netif boards/calliope-mini: add nrf51 common dependencies 2021-11-26 08:48:23 +01:00
Makefile.tests_common
README.md
test_interactive.config

Running and creating tests

There are a number of tests included in RIOT. They are located in the tests folder. These tests allow basic functionality to be verified as well as provide an example of usage.

Implementing automated tests

The goal is to be able to run all tests in a sequential way for as many targets as possible.

As some board can't be reset without a manual trigger tests should be implemented with some kind of synchronization. This can be done in two ways:

  • use test_utils_interactive_sync when uart input/output does not need to be disabled for the test. This is enabled by default.
  • set up the test in a loop so the test script will be able so sync with some kind of start condition in the test.

The module for the first option is test_utils_interactive_sync and is set as a default module in Makefile.tests_common. It can be disabled by setting in the application makefile DISABLE_MODULE += test_utils_interactive_sync. The python test script will adapt to it automatically.

When using the shell module, test_utils_interactive_sync will use the shell itself to synchronize, and will not use test_utils_interactive_sync(); function to synchronize. Some times you will want to synchronize before the start of the script and use test_utils_interactive_sync(); function (e.g.: tests/ps_schedstatistics). For these cases you can disable test_utils_interactive_sync_shell module in the application Makefile: DISABLE_MODULE += test_utils_interactive_sync_shell.

Running automated tests

Some tests can be performed automatically. The test automation scripts are defined in the <test_application>/tests/ folder. They are written in python and interact through the uart with the test application code running on a board to do the validation. It is recommended to flash the board with the test just before running it because some platforms cannot be reset while testing.

From the test application directory run:

BOARD=<board_of_your_choice> make flash test

An automated way of knowing if a test is available is to execute the 'test/available' target from the test application directory. It executes without error if tests run by 'make test' are present.

make test/available

Automated Tests Guidelines

When using pexpect $ is useless for matching the end of a line, instead use \r\n(pexpect end-of-line).

Beware of + and * at the end of patterns. These patterns will always get a minimal match (non-greedy).(pexpect end-of-patterns) This can be an issue when matching groups and using the matched groups to verify some kind of behavior since * could return an empty match and + only a subset.

This is especially prevalent since printf() is buffered so the output might not arrive in a single read to pexpect.

To avoid this make sure to match a non-ambiguous character at the end of the pattern like \r\n, \s, \), etc..

don't:

    child.expect(r'some string: (\d+)')

do:

    child.expect(r'some string: (\d+)\r\n')
    child.expect(r'some string: (\d+)\s')
    child.expect(r'some string: (\d+) ,')

Use expect() instead of assert()

In order to make a test application functional in all cases, use expect() instead of assert(). The former works like the latter, but will still be compiled in if NDEBUG is defined. This is useful to keep a test application working even when compiling with -DNDEBUG, allowing for the code-under-test to be compiled with that flag. Otherwise, the application would force compiling all tested code with assertions enabled. expect() is defined in the header test_utils/expect.h.

Interaction through the uart

Tests implemented with testrunner use the cleanterm target that provides an interaction without adding extra text output or input handling. It can currently be expected to have unmodified line based interaction with the board.

The expected behavior is verified with the test in tests/test_tools.

Tests cannot rely on having on all boards and terminal programs:

  • unbuffered input
  • allowing sending special characters like ctrl+c/ctrl+d

Running tests that require a preliminary manual configuration

Some tests need active monitoring or manual setup steps but still have some automated scripts. The test automation scripts are defined in the <test_application>/tests-with-config/ folder. For running them, follow the setup or analysis documentation and use the test-with-config target.

Running tests that require root privileges

Some tests require root privileges to launch their automated script. In this case, the test automation scripts are defined in the <test_application>/tests-as-root/ folder. For running them, follow the setup or analysis documentation and use the test-as-root target.