1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests
benpicco 7a2c665d70
Merge pull request #18762 from benpicco/tests/thread_msg_bus-enhance
tests/thread_msg_bus: enhance test with non-bus message
2022-11-01 12:56:25 +01:00
..
backtrace
bench_msg_pingpong
bench_mutex_pingpong
bench_periph_gpio_ll tests/bench_periph_gpio_ll: add benchmark for periph/gpio_ll 2022-04-22 08:39:05 +02:00
bench_runtime_coreapis
bench_sched_nop
bench_sizeof_coretypes
bench_sys_atomic_utils
bench_sys_base64 tests/*: update Makefile.ci 2022-03-18 08:23:00 +01:00
bench_thread_flags_pingpong
bench_thread_yield_pingpong
bench_timers
bench_xtimer
bench_xtimer_load tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
bench_ztimer
bitarithm_timings
blob
bloom_bytes
board_microbit
build_system_cflags_spaces
build_system_utils
buttons
c11_atomics_cpp_compat
can_trx makefiles/cflags.inc.mk: Add -Wno-missing-field-initializers to CXXFLAGS 2022-10-27 14:28:06 +02:00
candev tests/candev: update test application 2022-07-12 15:09:58 +02:00
cb_mux
cb_mux_bench
cond_order
congure_abe tests/congure_abe: reset node before starting terminal 2022-10-19 09:48:45 +02:00
congure_quic tests: Initial import of congure_quic tests 2022-10-17 10:27:44 +02:00
congure_reno examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
congure_test examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
conn_can makefiles/cflags.inc.mk: Add -Wno-missing-field-initializers to CXXFLAGS 2022-10-27 14:28:06 +02:00
cortexm_common_ldscript
cpp11_condition_variable tests/cpp11_*: add Kconfig support 2022-04-24 21:23:34 +02:00
cpp11_mutex tests/cpp11_*: add Kconfig support 2022-04-24 21:23:34 +02:00
cpp11_thread tests/cpp11_*: add Kconfig support 2022-04-24 21:23:34 +02:00
cpp_ctors tests/cpp_ctors: add Kconfig support 2022-04-24 21:23:34 +02:00
cpp_exclude tests/{cpp_ext, cpp_exclude}: cleanup HAS_* 2022-05-11 21:24:50 +02:00
cpp_ext tests/{cpp_ext, cpp_exclude}: cleanup HAS_* 2022-05-11 21:24:50 +02:00
cpu_avr8_xmega_drivers tests/cpu_avr8_xmega_driver: fix BOARD name 2022-03-04 10:36:45 +01:00
cpu_cortexm_address_check examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
cpu_efm32_drivers
cpu_efm32_features
dbgpin
deferred_yield_higher cpu/mips: Remove all mips 2022-09-27 13:42:37 +02:00
devfs vfs: drop unused abs_path parameter 2022-09-29 22:01:37 +02:00
disp_dev tests: adapt to new disp_dev area coordinates 2022-04-13 12:52:03 +02:00
driver_ad7746
driver_adcxx1c drivers/adcxx1c: Update kconfig model 2022-03-02 14:03:28 +01:00
driver_ads101x
driver_adt7310
driver_adxl345
driver_aip31068
driver_apa102
driver_apds99xx
driver_apds99xx_full
driver_at
driver_at24cxxx
driver_at24mac
driver_at25xxx
driver_at30tse75x examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_at86rf2xx tests/driver_at86rf2xx: rewrite without GNRC 2022-07-11 09:26:55 +02:00
driver_at86rf2xx_aes tests/driver_at86rf2xx_aes: remove unnessesary xtimer.h import 2022-10-29 23:47:59 +02:00
driver_at86rf215 tests/driver_at86rf215: add nucleo-f042k6 to BOARD_INSUFFICIENT_MEMORY 2022-07-11 09:32:16 +02:00
driver_ata8520e examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_atwinc15x0
driver_bh1750
driver_bh1900nux
driver_bme680
driver_bmp180
driver_bmx055
driver_bmx280
driver_bq2429x examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_cc110x examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_cc2420 tests: add cc2420 driver test 2022-07-11 09:32:13 +02:00
driver_cc2538_rf tests/cc2538_rf: set event_callback before init 2022-10-14 16:06:29 +02:00
driver_ccs811
driver_ccs811_full
driver_cst816s tests/*: update Makefile.ci 2022-03-18 08:23:00 +01:00
driver_dac_dds drivers/dac_dds: Update kconfig model 2022-03-04 14:15:35 +01:00
driver_dcf77
driver_dfplayer examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_dht
driver_dose drivers/dose: model in Kconfig 2022-07-22 16:06:35 +02:00
driver_ds18
driver_ds75lx
driver_ds1307 tests/*: update Makefile.ci 2022-03-18 08:23:00 +01:00
driver_ds3231
driver_ds3234
driver_dsp0401
driver_dynamixel sys/shell_commands: convert to SHELL_COMMAND() 2022-06-07 09:25:04 +02:00
driver_edbg_eui
driver_enc28j60 drivers/enc28j60: model in Kconfig 2022-07-22 16:06:35 +02:00
driver_encx24j600 drivers/encx24j600: model in Kconfig 2022-07-22 16:06:35 +02:00
driver_esp_eth tests/driver_esp_eth: replace HAS_PERIPH_ETH by HAS_ESP_ETH in Kconfig 2022-08-03 09:01:05 +02:00
driver_ethos drivers/ethos: model in Kconfig 2022-07-22 16:06:36 +02:00
driver_feetech sys/shell_commands: convert to SHELL_COMMAND() 2022-06-07 09:25:04 +02:00
driver_ft5x06
driver_fxos8700
driver_gp2y10xx
driver_grove_ledbar
driver_hd44780
driver_hdc1000
driver_hih6130
driver_hm330x
driver_hmc5883l
driver_hsc tests/driver_hsc: clean up use of strerror 2022-09-20 15:51:12 +02:00
driver_hts221
driver_ili9341 tests: use common riot_logo.h 2022-04-13 08:00:48 +02:00
driver_ina2xx drivers/ina2xx: Update kconfig model 2022-03-04 14:15:42 +01:00
driver_ina3221
driver_io1_xplained
driver_ir_nec tests/driver_ir_nec: add test application for ir_nec driver 2022-05-31 17:58:46 +02:00
driver_isl29020
driver_isl29125
driver_itg320x
driver_jc42
driver_kw2xrf tests/driver_kw2xrf: adapt to radio HAL port 2022-08-15 12:11:05 +02:00
driver_l3g4200d
driver_l3gxxxx kconfig: add ST L3Gxxxx 3-axis gyro family 2022-03-18 06:34:54 +01:00
driver_lc709203f
driver_lis2dh12 examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_lis3dh
driver_lis3mdl
driver_lm75
driver_lpd8808 tests/*: update Makefile.ci 2022-03-18 08:23:00 +01:00
driver_lpsxxx driver/lpsxxx: adding lps22ch support 2022-03-09 15:23:51 +01:00
driver_lsm6dsl
driver_lsm303dlhc
driver_ltc4150
driver_mag3110
driver_matrix_keypad matrix_keypad: add test application 2022-10-28 10:03:37 +02:00
driver_mcp47xx
driver_mhz19 drivers/mhz19: Update kconfig model 2022-03-04 14:15:46 +01:00
driver_mma8x5x
driver_mma7660
driver_motor_driver examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_mpl3115a2
driver_mpu9x50
driver_mq3
driver_mrf24j40 tests/driver_mrf24j40: rewrite without GNRC 2022-07-11 09:32:15 +02:00
driver_my9221
driver_netdev_common examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_nrf24l01p_lowlevel examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_nrf24l01p_ng examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_nrf802154 tests/nrf802154: set event_callback before init 2022-10-14 16:06:43 +02:00
driver_nrfmin examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_nvram_spi
driver_opt3001
driver_pca9633
driver_pca9685
driver_pcd8544
driver_pcf857x tests/driver_pcf857x: rename local functions to avoid name collision 2022-05-03 00:58:34 +02:00
driver_ph_oem tests/*: update Makefile.ci 2022-03-18 08:23:00 +01:00
driver_pir
driver_pn532 drivers/pn532: Update kconfig model 2022-03-04 14:15:50 +01:00
driver_pulse_counter
driver_qmc5883l
driver_rn2xx3 examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_sam0_eth cpu/sam0_common/sam0_eth: model in Kconfig 2022-07-25 11:08:32 +02:00
driver_scd30 tests/*: update Makefile.ci 2022-03-18 08:23:00 +01:00
driver_sdcard_spi
driver_sdp3x
driver_sds011
driver_seesaw_soil
driver_servo
driver_sgp30
driver_sht1x examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
driver_sht2x
driver_sht3x tests/driver_sht3x: ztimer_msec port 2022-03-10 07:27:06 +01:00
driver_shtcx tests/shtcx: refactoring of code to work with the new shtcx module 2022-03-10 21:35:25 +01:00
driver_si70xx
driver_si114x drivers/si114x: Update kconfig model 2022-03-04 14:15:55 +01:00
driver_si1133
driver_sm_pwm_01c
driver_soft_spi
driver_soft_uart
driver_sps30
driver_srf02
driver_srf04
driver_srf08
driver_st7735 drivers/lcd: apply offset parameters to ili9341 2022-04-13 12:55:16 +02:00
driver_stm32_eth cpu/stm32/periph_eth: model in Kconfig 2022-07-25 11:08:32 +02:00
driver_stmpe811
driver_sx126x tests/sx12xx: set event_callback before init 2022-10-14 16:07:02 +02:00
driver_sx127x tests/sx12xx: set event_callback before init 2022-10-14 16:07:02 +02:00
driver_sx1280 tests/sx12xx: set event_callback before init 2022-10-14 16:07:02 +02:00
driver_tcs37727
driver_tmp00x
driver_tps6274x
driver_tsl2561
driver_tsl4531x
driver_vcnl40x0 drivers/vcnl40x0: Update kconfig model 2022-03-04 14:16:00 +01:00
driver_veml6070
driver_w5100 drivers/w5100: model in Kconfig 2022-07-25 11:08:31 +02:00
driver_ws281x
driver_xbee
eepreg
embunit
emcute examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
entropy_source
event_periodic_callback tests/event_periodic_callback: add one-shot test 2022-09-27 15:46:59 +02:00
event_thread_shared
event_threads
event_wait_timeout
event_wait_timeout_ztimer tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
event_ztimer
events
evtimer_mbox Merge pull request #17434 from kaspar030/murdock_use_emulators 2022-04-06 14:41:48 +02:00
evtimer_msg tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
evtimer_underflow tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
external_board_dirs tests/external_boards: add esp32s2-ci board for optional modules 2022-08-31 09:09:11 +02:00
external_board_native
external_module_dirs tests/external_modules: use AUTO_INIT_PRIORITY_AFTER 2022-10-17 10:38:14 +02:00
external_pkg_dirs
fault_handler
float
fmt_print tests/fmt_print: spice up test 2022-06-10 11:02:43 +02:00
frac-config
gcoap_dns examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gcoap_fileserver tests/gcoap_fileserver: fix deprecated shell_commands and md5sum 2022-10-17 16:17:24 -04:00
gnrc_dhcpv6_client cpu/mips: Remove all mips 2022-09-27 13:42:37 +02:00
gnrc_dhcpv6_client_6lbr examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gnrc_dhcpv6_client_stateless examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gnrc_dhcpv6_relay examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gnrc_gomach examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gnrc_ipv6_ext treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/ 2022-09-24 14:50:43 +02:00
gnrc_ipv6_ext_frag treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/ 2022-09-24 14:50:43 +02:00
gnrc_ipv6_ext_opt treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/ 2022-09-24 14:50:43 +02:00
gnrc_ipv6_fwd_w_sub Merge pull request #18635 from benpicco/tests/gnrc_ipv6_nib_iface_up 2022-09-25 14:19:40 +02:00
gnrc_ipv6_nib tests/gnrc_ipv6_nib: up interface on initial initialization 2022-10-12 09:37:26 +02:00
gnrc_ipv6_nib_6ln tests: call gnrc_ipv6_nib_iface_up() after gnrc_ipv6_nib_init_iface() 2022-09-23 17:17:42 +02:00
gnrc_ipv6_nib_dns examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gnrc_lorawan gnrc/lorawan: uncrustify files 2022-09-29 11:26:04 +02:00
gnrc_lorawan_11 gnrc/lorawan: uncrustify files 2022-09-29 11:26:04 +02:00
gnrc_lwmac examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gnrc_mac_timeout
gnrc_ndp
gnrc_netif tests/gnrc_netif: remove cast from test_netif_get_name() 2022-05-10 22:18:54 +02:00
gnrc_netif_ieee802154 tests/gnrc_netif_ieee802154: disable test_utils_print_stack_usage 2022-03-29 21:49:35 +02:00
gnrc_netif_ipv6_wait_for_global_address tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
gnrc_rpl tests/gnrc_rpl: mark the test as only for native in build system 2022-10-10 15:22:04 +02:00
gnrc_rpl_p2p
gnrc_rpl_srh treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/ 2022-09-24 14:50:43 +02:00
gnrc_sixlowpan codespell: fix remaining issues 2022-09-16 14:00:35 +02:00
gnrc_sixlowpan_frag
gnrc_sixlowpan_frag_minfwd tests: call gnrc_ipv6_nib_iface_up() after gnrc_ipv6_nib_init_iface() 2022-09-23 17:17:42 +02:00
gnrc_sixlowpan_frag_sfr tests: update Makefile.ci for blxxxpill-128kib with CDC ACM 2022-10-15 23:33:41 +02:00
gnrc_sixlowpan_frag_sfr_congure tests: add test for 6LoWPAN SFR using CongURE 2022-10-26 09:12:36 +02:00
gnrc_sixlowpan_iphc_w_vrb
gnrc_sock_async_event
gnrc_sock_dns examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gnrc_sock_dodtls examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
gnrc_sock_ip
gnrc_sock_neterr
gnrc_sock_tcp treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/ 2022-09-24 14:50:43 +02:00
gnrc_sock_udp
gnrc_tcp treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/ 2022-09-24 14:50:43 +02:00
gnrc_tx_sync tests: update Makefile.ci for blxxxpill-128kib with CDC ACM 2022-10-15 23:33:41 +02:00
gnrc_udp treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/ 2022-09-24 14:50:43 +02:00
heap_cmd tests: remove bogus files 2022-09-25 21:23:54 +02:00
ieee802154_hal examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
ieee802154_security sys/shell_commands: convert to SHELL_COMMAND() 2022-06-07 09:25:04 +02:00
ieee802154_submac examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
irq
irq_disable_restore
isr_yield_higher
kconfig
kconfig_features
l2util
leds tests/leds: add test where LEDs are mapped to buttons 2022-03-29 09:05:46 +02:00
libc_newlib
log_color tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
log_printfnoformat
lua_loader examples: tests: lua: add Kconfig configuration 2022-04-27 11:12:27 +02:00
lwip examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
lwip_sock_ip Merge pull request #16974 from yarrick/lwip_netif 2022-04-26 23:49:49 +02:00
lwip_sock_tcp examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
lwip_sock_udp Merge pull request #16974 from yarrick/lwip_netif 2022-04-26 23:49:49 +02:00
malloc
malloc_thread_safety tests/malloc_thread_safety: update Makefile.ci 2022-03-29 21:49:35 +02:00
mcuboot
memarray examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
minimal tests/minimal: disable test_utils_print_stack_usage 2022-03-29 21:49:35 +02:00
mpu_noexec_ram
mpu_stack_guard
msg_avail
msg_queue_capacity tests: add tests for msg_queue_capacity() 2022-03-03 16:50:34 +01:00
msg_queue_print
msg_send_receive
msg_try_receive
mtd_at24cxxx
mtd_at25xxx
mtd_flashpage
mtd_mapper tests/mtd_mapper: don't set device properites for regions 2022-06-03 00:22:06 +02:00
mtd_raw examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
mutex_cancel
mutex_order
mutex_unlock_and_sleep
nanocoap_cli tests/nanocoap_cli: add test for no-response 2022-10-13 19:04:09 +02:00
netdev_test
netstats_l2 examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
netstats_neighbor
netutils Merge pull request #17905 from benpicco/GNRC_NETIF_STACKSIZE_DEFAULT 2022-10-13 17:10:43 +02:00
nimble_autoconn_ccnl examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
nimble_autoconn_gnrc examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
nimble_autoconn_gnrc_ext examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
nimble_esp_wifi_coexist tests/nimble_esp_wifi_coexists: fix deprecated shell_commands 2022-10-18 04:58:37 -04:00
nimble_ext_adv examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
nimble_l2cap examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
nimble_l2cap_server
nimble_netif_ext examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
nimble_rpble_gnrc examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
nimble_rpble_gnrc_ext examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
nimble_statconn_gnrc examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
nimble_statconn_gnrc_ext examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
od
pbkdf2 test/pbkdf2: enlarge stdio rx buffer 2022-04-13 13:29:19 +02:00
periph_adc
periph_backup_ram codespell: fix remaining issues 2022-09-16 14:00:35 +02:00
periph_cpuid
periph_dac
periph_dma
periph_eeprom examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
periph_flashpage Merge pull request #17434 from kaspar030/murdock_use_emulators 2022-04-06 14:41:48 +02:00
periph_flashpage_unittest tests/periph_flashpage_unittests: use unsgined int for address cast 2022-03-24 07:58:32 +01:00
periph_gpio examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
periph_gpio_arduino
periph_gpio_ll tests/periph_gpio_ll: add missing include 2022-09-28 17:59:04 +02:00
periph_hwrng
periph_i2c examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
periph_ltdc tests/periph_ltdc: use width/height defines from riot_logo.h 2022-04-13 08:00:48 +02:00
periph_pm examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
periph_ptp_clock
periph_ptp_timer
periph_pwm
periph_qdec boards: add some missing whitespaces for static tests 2022-09-14 15:11:14 +02:00
periph_rtc tests/periph_rtc: Fix kconfig model 2022-08-17 14:37:24 +02:00
periph_rtt tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
periph_rtt_min tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
periph_spi examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
periph_spi_dma examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
periph_timer tests: add esp32-ci / esp8266-ci as external boards 2022-06-03 07:33:44 +02:00
periph_timer_periodic Merge pull request #17723 from benpicco/periph_timer_periodic-set_stopped 2022-05-03 12:06:37 +02:00
periph_timer_short_relative_set tests/periph_timer_short_relative_set: clarify outcome 2022-08-25 10:30:22 +02:00
periph_uart
periph_uart_mode
periph_uart_nonblocking
periph_vbat
periph_wdt tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
phydat_dump
pipe tests/pipe: remove duplicated include 2022-04-13 11:56:42 -04:00
pkg_arduino_sdi_12
pkg_c25519 sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
pkg_cayenne-lpp
pkg_cifra sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
pkg_cmsis-dsp tests/pkg_cmsis-dsp: add Kconfig configuration 2022-04-26 09:26:03 +02:00
pkg_cmsis-nn tests/pkg_cmsis-nn: add Kconfig configuration 2022-04-25 13:00:41 +02:00
pkg_cn-cbor
pkg_corejson tests/pkg_corejson: add Kconfig configuration 2022-04-25 19:31:15 +02:00
pkg_cryptoauthlib_compare_sha256 tests/pkg_cryptoauthlib*: add Kconfig configuration 2022-05-03 16:06:22 +02:00
pkg_cryptoauthlib_internal-tests pkg/cryptoauthlib: Update package to latest version 2022-07-06 10:45:39 +02:00
pkg_edhoc_c examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
pkg_elk
pkg_emlearn
pkg_etl cpu/mips: Remove all mips 2022-09-27 13:42:37 +02:00
pkg_fatfs
pkg_fatfs_vfs test/pkg_fatfs_vfs: format with static buffer 2022-03-25 17:23:37 +01:00
pkg_fff tests/pkg_fff: use MCU instead of CPU_FAM for ESP32x SoC 2022-07-22 06:24:20 +02:00
pkg_flatbuffers tests/pkg_flatbuffers: add Kconfig support 2022-04-27 10:53:50 +02:00
pkg_hacl sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
pkg_heatshrink
pkg_jsmn
pkg_libb2
pkg_libbase58
pkg_libcose Merge pull request #18025 from leandrolanzieri/pr/sys/random/change_kconfig_default_backend 2022-05-24 11:35:21 +02:00
pkg_libcose_encrypt tests/pkg_libcose_encrypt: split cose_encrypt test 2022-05-17 10:51:34 +02:00
pkg_libfixmath
pkg_libfixmath_unittests examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
pkg_libhydrogen sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
pkg_littlefs pkg/littlefs: make block size configurable 2022-07-31 10:57:12 +02:00
pkg_littlefs2 pkg/littlefs2: make block size configurable 2022-07-31 10:57:13 +02:00
pkg_lora-serialization
pkg_lvgl examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
pkg_lvgl_touch tests/pkg_lvgl_touch: randomize button position on click 2022-08-24 21:56:31 +02:00
pkg_lz4 tests: update Makefile.ci for blxxxpill-128kib with CDC ACM 2022-10-15 23:33:41 +02:00
pkg_mbedtls
pkg_micro-ecc sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
pkg_micro-ecc-with-hwrng
pkg_microcoap tests/pkg_microcoap: use netifs_print_ipv6() 2022-06-06 20:46:48 +02:00
pkg_minmea
pkg_monocypher sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
pkg_nanocbor
pkg_nanopb
pkg_nanors tests/pkg_nanors: add Kconfig configuration 2022-05-03 16:22:42 +02:00
pkg_openwsn examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
pkg_openwsn_sock_udp
pkg_qcbor
pkg_qdsa sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
pkg_qr-code-generator Merge pull request #17921 from aabadie/pr/drivers/disp_dev_coordinates 2022-04-19 12:48:12 +02:00
pkg_relic
pkg_semtech-loramac examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
pkg_spiffs tests: Set a MTD write size of 1 wherever an MTD is mocked 2022-03-31 13:56:30 +02:00
pkg_tflite-micro tests/pkg_tflite-micro: update list of low memory boards 2022-05-13 07:00:46 -04:00
pkg_tiny-asn1
pkg_tinycbor
pkg_tinycrypt
pkg_tinydtls_sock_async examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
pkg_tinyusb_cdc_msc pkg/tinyusb: use auto_init for tinyusb stack and thread setup 2022-10-04 07:40:18 +02:00
pkg_tinyvcdiff tests/pkg_tinyvcdiff: Initialize mtd->write_size 2022-08-30 11:36:42 +02:00
pkg_tweetnacl sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
pkg_u8g2
pkg_ubasic
pkg_ucglib
pkg_umorse tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
pkg_utensor tests/pkg_utensor: add Kconfig configuration 2022-04-28 08:49:54 +02:00
pkg_uzlib
pkg_wolfcrypt-ed25519-verify
pkg_wolfssl examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
pkg_yxml
posix_semaphore Merge pull request #17434 from kaspar030/murdock_use_emulators 2022-04-06 14:41:48 +02:00
posix_sleep tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
prng_sha1prng
prng_sha256prng
progress_bar
ps_schedstatistics examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
pthread
pthread_barrier
pthread_cleanup
pthread_condition_variable
pthread_cooperation tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
pthread_flood tests/pthread_flood: use fmt, allows print_stack_usage to work 2022-03-31 14:48:02 +02:00
pthread_rwlock
pthread_tls
puf_sram
riotboot examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
riotboot_flashwrite examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
riotboot_hdr
rmutex
rmutex_cpp
rng examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
rust_libs rust: Run all tests on stable 2022-10-01 21:31:16 +02:00
rust_minimal rust: Update dependencies 2022-10-04 00:28:46 +02:00
saul
saul_drivers
sched_change_priority examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
sched_testing
sema treewide: use sema_deprecated when required 2022-03-10 14:24:46 +01:00
senml_cbor
senml_phydat
senml_saul
shell examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
shell_ble examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
shell_lock examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
slip examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
sntp examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
sock_udp_aux examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
socket_zep tests/socket_zep: set event_callback before init 2022-10-14 16:07:19 +02:00
ssp
stdin
stm32_bootloader examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
struct_tm_utility tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
suit_manifest suit: replace SUIT_URL_MAX with CONFIG_SOCK_URLPATH_MAXLEN 2022-06-01 13:00:51 +02:00
sys_architecture
sys_arduino
sys_arduino_analog
sys_arduino_lib
sys_atomic_utils sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
sys_atomic_utils_unittests sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
sys_crypto
sys_crypto_aes_ccm
sys_fido2_ctap boards/blxxxpill: configure usbdev_fs 2022-10-13 21:59:47 +02:00
sys_ptrtag
sys_sched_round_robin Merge pull request #17434 from kaspar030/murdock_use_emulators 2022-04-06 14:41:48 +02:00
sys_sema_inv tests/sys_sema_inv: wait longer fot thread to exit 2022-03-24 07:57:53 +01:00
sys_stdio_semihosting examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
test_tools sys/shell_commands: convert to SHELL_COMMAND() 2022-06-07 09:25:04 +02:00
thread_basic
thread_cooperation
thread_exit
thread_flags tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
thread_flags_xtimer
thread_float tests/thread_float: clean up and fix test script 2022-06-30 19:15:08 +02:00
thread_flood
thread_msg
thread_msg_block_race
thread_msg_block_w_queue
thread_msg_block_wo_queue
thread_msg_bus tests/thread_msg_bus: enhance test with non-bus message 2022-10-18 13:25:09 +02:00
thread_msg_seq
thread_priority_inversion tests/thread_priority_inversion: improve output for debugging 2022-09-12 21:42:29 +02:00
thread_race
thread_stack_alignment tests/thread_stack_alignment: new test application 2022-10-12 21:56:08 +02:00
thread_zombie
touch_dev
trace
trickle Merge pull request #17434 from kaspar030/murdock_use_emulators 2022-04-06 14:41:48 +02:00
turo
turo_txt tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
unittests tests/unittests: fix get_frame_hdr_len tests for hardened parsing 2022-10-29 00:58:35 +02:00
usbus
usbus_cdc_acm_stdio examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
usbus_cdc_ecm examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
usbus_hid
vfs_default examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
vfs_iterate_mount
vfs_plus_stdio
warn_conflict
xfa
xtimer_drift tests/xtimer_drift: remove uneeded timex call 2022-03-02 08:19:31 +01:00
xtimer_hang tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
xtimer_longterm
xtimer_msg
xtimer_msg_receive_timeout
xtimer_mutex_lock_timeout examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
xtimer_now32_overflow tests: update Makefile.ci for blxxxpill-128kib with CDC ACM 2022-10-15 23:33:41 +02:00
xtimer_now64_continuity tests: update Makefile.ci for blxxxpill-128kib with CDC ACM 2022-10-15 23:33:41 +02:00
xtimer_now_irq
xtimer_overhead
xtimer_periodic_wakeup tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
xtimer_remove
xtimer_reset
xtimer_rmutex_lock_timeout tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
xtimer_usleep tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
xtimer_usleep_short tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
ztimer64_msg
ztimer_msg
ztimer_mutex_lock_timeout
ztimer_overhead tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
ztimer_periodic tests/ztimer_periodic: improve output and relax on native 2022-08-21 13:12:43 +02:00
ztimer_rmutex_lock_timeout tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
ztimer_underflow tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
ztimer_xsec tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
.gitignore examples,tests: ignore core dumps via .gitignore 2022-08-31 15:05:14 +02:00
Makefile.boards.netif examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
Makefile.tests_common sys/test_utils/print_stack_usage: add Kconfig support 2022-03-29 21:49:35 +02:00
README.md tests/doc: reorganization and improvements to tests doc 2022-08-04 03:16:27 -04:00
riot_logo.h tests: use common riot_logo.h 2022-04-13 08:00:48 +02:00
test_print_stack_usage.config sys/test_utils/print_stack_usage: add Kconfig support 2022-03-29 21:49:35 +02:00
test_utils.config sys/test_utils/print_stack_usage: add Kconfig support 2022-03-29 21:49:35 +02:00

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.

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 serial (typically 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.

Running single test

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

Running all test for particular board

If you would like execute all tests for given board, you could use dedicated script compile_and_test_for_board.py

Go to main RIOT directory and execute command:

./dist/tools/compile_and_test_for_board/compile_and_test_for_board.py . <board_of_your_choice> --with-test-only --jobs=4

More details concerning other available parameters provided by this tool can be found in README.md file and directly in compile_and_test_for_board.py script.

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.

Cleaning intermediate files

After test execution intermediate files are not automatically deleted. Execution of multiple tests, especially all for particular board could generate many files. For example, after execution of all test for stm32f469i-disco board (more than 230 tests) around 7.5 GB of intermediate files are created.

There are few methods for cleaning intermediate files.

If you would like to clean intermediate file only for particular board you should go to main RIOT directory and execute one from these commands:

./dist/tools/compile_and_test_for_board/compile_and_test_for_board.py . <board_of_your_choice> --compile-targets clean

or

make BOARD=<board_of_your_choice> clean

If you would like to clean intermediate files for all boards go to main RIOT directory and use this command.

@warning This command cleans all local files, for example, pkg downloads and locally generared docs.

make distclean

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.

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