1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests
Martine Lenders aa5a18f833
Merge pull request #16974 from yarrick/lwip_netif
pkg/lwip: Add netif_t struct, register all netifs
2022-04-26 23:49:49 +02: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
candev tests/candev/README: cleanup README 2022-04-25 12:48:10 +02:00
cb_mux
cb_mux_bench
cond_order
congure_reno tests: Initial import of congure_reno tests 2022-04-08 17:58:21 +02:00
congure_test
conn_can tests/conn_can/README: use native can README 2022-04-25 12:48:10 +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
cpp_ext
cpu_avr8_xmega_drivers tests/cpu_avr8_xmega_driver: fix BOARD name 2022-03-04 10:36:45 +01:00
cpu_cortexm_address_check
cpu_efm32_drivers
cpu_efm32_features
dbgpin tests: add building BOARD defaults 2022-02-28 21:59:57 +01:00
deferred_yield_higher
devfs
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
driver_at86rf2xx
driver_at86rf2xx_aes
driver_at86rf215 tests/drivers_at86rf215: Exclude z1 2022-01-28 14:04:47 +01:00
driver_ata8520e
driver_atwinc15x0
driver_bh1750
driver_bh1900nux
driver_bme680
driver_bmp180
driver_bmx055
driver_bmx280
driver_bq2429x
driver_cc110x examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +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 tests/driver_dfplayer: use event_thread instead of event_thread_lowest 2022-03-04 10:36:20 +01:00
driver_dht
driver_dose tests/driver_dose: rewrite without GNRC 2022-03-24 09:44:53 +01: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
driver_edbg_eui
driver_enc28j60 tests/driver_enc28j60: rewrite without GNRC 2022-03-24 09:44:52 +01:00
driver_encx24j600 tests/driver_encx24j600: rewrite without GNRC 2022-03-24 09:44:53 +01:00
driver_esp_eth tests: add ESP ethernet test 2022-03-24 09:44:53 +01:00
driver_ethos tests/driver_ethos: rewrite without GNRC 2022-03-24 09:44:53 +01:00
driver_feetech
driver_ft5x06 drivers/ft5x06: remove unnecessary pseudomodules 2022-01-21 14:13:49 +01:00
driver_fxos8700
driver_gp2y10xx
driver_grove_ledbar
driver_hd44780
driver_hdc1000
driver_hih6130
driver_hm330x
driver_hmc5883l
driver_hsc
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_isl29020
driver_isl29125
driver_itg320x
driver_jc42
driver_kw2xrf
driver_l3g4200d
driver_l3gxxxx kconfig: add ST L3Gxxxx 3-axis gyro family 2022-03-18 06:34:54 +01:00
driver_lc709203f tests/driver_lc709203f: fix documentation 2022-02-02 13:56:08 +01:00
driver_lis2dh12
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 tests/driver_ltc4150: migrate to ztimer_usec 2022-01-18 16:27:44 +01:00
driver_mag3110
driver_mcp47xx
driver_mhz19 drivers/mhz19: Update kconfig model 2022-03-04 14:15:46 +01:00
driver_mma8x5x
driver_mma7660
driver_motor_driver tests/driver_motor_driver: remove uneeded xtimer_init() 2022-01-25 08:58:24 +01:00
driver_mpl3115a2
driver_mpu9x50 drivers/mpu9x50: Model saul_default in kconfig 2022-02-01 13:58:06 +01:00
driver_mq3
driver_mrf24j40
driver_my9221
driver_netdev_common tests/driver_netdev_common: add virtual board to test ETH drivers 2022-03-24 09:44:53 +01:00
driver_nrf24l01p_lowlevel drivers/nrf24l01p: migrate to ztimer 2022-01-18 16:27:44 +01:00
driver_nrf24l01p_ng
driver_nrfmin tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
driver_nvram_spi drivers/nvmram_spi: convert to ztimer_usec 2022-01-18 16:27:44 +01:00
driver_opt3001
driver_pca9633
driver_pca9685
driver_pcd8544
driver_pcf857x
driver_ph_oem tests/*: update Makefile.ci 2022-03-18 08:23:00 +01:00
driver_pir drivers/pir: migrate to ztimer64 2022-01-18 16:27:44 +01:00
driver_pn532 drivers/pn532: Update kconfig model 2022-03-04 14:15:50 +01:00
driver_pulse_counter
driver_qmc5883l
driver_rn2xx3
driver_sam0_eth tests: add SAM0 ethernet test 2022-03-24 09:44:53 +01: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
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 tests/driver_si1133: remove uneeded xtimer dependency 2022-01-17 12:04:12 +01:00
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 tests: add STM32 ethernet test 2022-03-24 09:44:53 +01:00
driver_stmpe811 drivers/stmpe811: don't use a choice to select the bus 2022-01-22 15:14:26 +01:00
driver_sx126x
driver_sx127x
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 tests/driver_w5100: rewrite without GNRC 2022-03-24 09:44:53 +01:00
driver_ws281x
driver_xbee
eepreg
embunit
emcute tests: use sock_udp_name2ep() in interactive tests 2022-03-24 17:11:55 +01:00
entropy_source
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 tests/events: use event_callback_init() once 2022-02-08 16:07:15 +01:00
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/driver_netdev_common: add virtual board to test ETH drivers 2022-03-24 09:44:53 +01:00
external_board_native
external_module_dirs tests/external_module_dirs: add auto-init function 2022-03-30 15:07:03 +02:00
external_pkg_dirs buildsystem: implement EXTERNAL_PKG_DIRS feature 2022-02-01 18:06:54 +00:00
fault_handler
float
fmt_print
frac-config
gnrc_dhcpv6_client
gnrc_dhcpv6_client_6lbr examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
gnrc_dhcpv6_client_stateless tests/gnrc_dhcpv6_client_stateless: use netdev_default 2022-03-04 10:35:27 +01:00
gnrc_dhcpv6_relay sys/Makefile.dep: fix dhcp_relay dependency 2022-02-14 12:59:31 +01:00
gnrc_gomach
gnrc_ipv6_ext
gnrc_ipv6_ext_frag examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
gnrc_ipv6_ext_opt
gnrc_ipv6_fwd_w_sub tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
gnrc_ipv6_nib
gnrc_ipv6_nib_6ln
gnrc_ipv6_nib_dns
gnrc_lorawan
gnrc_lwmac
gnrc_mac_timeout
gnrc_ndp
gnrc_netif examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +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: add automated test for gnrc_rpl 2022-02-25 20:32:15 +01:00
gnrc_rpl_p2p
gnrc_rpl_srh
gnrc_sixlowpan
gnrc_sixlowpan_frag
gnrc_sixlowpan_frag_minfwd examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
gnrc_sixlowpan_frag_sfr examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
gnrc_sixlowpan_iphc_w_vrb
gnrc_sock_async_event
gnrc_sock_dns
gnrc_sock_ip
gnrc_sock_neterr tests: add missing includes 2022-02-28 14:53:08 +01:00
gnrc_sock_tcp tests: add missing includes 2022-02-28 14:53:08 +01:00
gnrc_sock_udp test/gnrc_udp: add test for sock_udp_sendv() 2022-02-22 10:05:41 +01:00
gnrc_tcp
gnrc_tx_sync tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
gnrc_udp examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
heap_cmd tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
ieee802154_hal ieee802154/hal: migrate to request_op and confirm_op 2022-01-10 13:57:02 +01:00
ieee802154_security
ieee802154_submac
irq
irq_disable_restore
isr_yield_higher
kconfig buildsystem: Kconfig test for EXTERNAL_PKG_DIRS feature 2022-02-01 18:12:07 +00:00
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
lwip examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +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
minimal tests/minimal: disable test_utils_print_stack_usage 2022-03-29 21:49:35 +02:00
mpu_noexec_ram tests: add building BOARD defaults 2022-02-28 21:59:57 +01:00
mpu_stack_guard tests: add building BOARD defaults 2022-02-28 21:59:57 +01:00
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 tests: add building BOARD defaults 2022-02-28 21:59:57 +01:00
mtd_at25xxx
mtd_flashpage tests/mtd_flashpage: make use of mtd_flashpage_t 2022-02-08 17:14:56 +01:00
mtd_mapper tests/mtd_mapper: add tests for the read_page and write_page backend 2022-03-26 14:30:42 +01:00
mtd_raw tests/mtd_raw: don't print data on error 2022-04-11 14:29:56 +02:00
mutex_cancel
mutex_order
mutex_unlock_and_sleep
nanocoap_cli tests/nanocoap_cli: add optional DNS support 2022-04-22 11:35:52 +02:00
netdev_test
netstats_l2 tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
netstats_neighbor
netutils sys/net/application_layer/sock_dns_mock: add module for mocking sock_dns 2022-04-03 17:29:10 +02:00
nimble_autoconn_ccnl
nimble_autoconn_gnrc
nimble_autoconn_gnrc_ext tests: add test for nimble_autoconn_ext 2022-01-27 10:30:30 +01:00
nimble_ext_adv tests/nimble_ext_adv: cleanup PHY mode selection 2022-01-27 10:10:09 +01:00
nimble_l2cap
nimble_l2cap_server
nimble_netif_ext tests: add test for nimble_netif_ext 2022-01-27 10:30:30 +01:00
nimble_rpble_gnrc tests/nimble_rpble: fix NIMBLE_MAX_CONN 2022-01-27 10:30:30 +01:00
nimble_rpble_gnrc_ext tests: add test for nimble_rpble_ext 2022-01-27 10:30:30 +01:00
nimble_statconn_gnrc
nimble_statconn_gnrc_ext tests: add test for nimble_statconn_ext 2022-01-27 10:30:30 +01:00
od
pbkdf2 test/pbkdf2: enlarge stdio rx buffer 2022-04-13 13:29:19 +02:00
periph_adc
periph_backup_ram tests: add default BOARDS 2022-02-28 15:08:35 +01:00
periph_cpuid
periph_dac
periph_dma tests: add default BOARDS 2022-02-28 15:08:35 +01:00
periph_eeprom
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 tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
periph_gpio_arduino tests: add default BOARDS 2022-02-28 15:08:35 +01:00
periph_gpio_ll tests: Add tests for periph/gpio_ll 2022-04-22 08:39:04 +02:00
periph_hwrng
periph_i2c tests/periph_i2c: include esp ci compile test boards 2022-02-09 16:50:04 +01:00
periph_ltdc tests/periph_ltdc: use width/height defines from riot_logo.h 2022-04-13 08:00:48 +02:00
periph_pm sys/pm_layered: rename val_u8 -> blockers 2022-04-06 12:29:25 +02:00
periph_ptp_clock
periph_ptp_timer
periph_pwm
periph_qdec
periph_rtc
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
periph_spi_dma
periph_timer
periph_timer_periodic tests/periph_timer_periodic: allow for 1% error 2022-03-23 09:28:56 +01:00
periph_timer_short_relative_set
periph_uart
periph_uart_mode tests: add default BOARDS 2022-02-28 15:08:35 +01:00
periph_uart_nonblocking tests: add default BOARDS 2022-02-28 15:08:35 +01:00
periph_vbat tests: add default BOARDS 2022-02-28 15:08:35 +01:00
periph_wdt tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
phydat_dump phydat: Add Tesla unit 2022-01-25 13:46:08 +01:00
pipe tests/pipe: remove duplicated include 2022-04-13 11:56:42 -04:00
pkg_arduino_sdi_12 tests: add default BOARDS 2022-02-28 15:08:35 +01:00
pkg_c25519
pkg_cayenne-lpp
pkg_cifra
pkg_cmsis-dsp
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: add default BOARDS 2022-02-28 15:08:35 +01:00
pkg_cryptoauthlib_internal-tests examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
pkg_edhoc_c examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
pkg_elk
pkg_emlearn
pkg_etl pkg/etl: Add the embedded template library (etl) 2022-03-06 16:22:53 +01:00
pkg_fatfs tests/pkg_fatfs*: don't overwrite native MTD defaults 2022-02-14 15:11:52 +01:00
pkg_fatfs_vfs test/pkg_fatfs_vfs: format with static buffer 2022-03-25 17:23:37 +01:00
pkg_fff tests/pkg_fff: reduce MAXTHREADS 2022-03-29 21:49:35 +02:00
pkg_flatbuffers
pkg_hacl
pkg_heatshrink
pkg_jsmn
pkg_libb2
pkg_libbase58
pkg_libcose
pkg_libfixmath
pkg_libfixmath_unittests examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
pkg_libhydrogen
pkg_littlefs tests/pkg_littlefs*: align test with documentation 2022-02-08 10:10:17 +01:00
pkg_littlefs2 pkg/littlefs2: model Kconfig 2022-03-30 12:03:30 +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 examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
pkg_lz4
pkg_mbedtls Revert "tests/pkg_mbedtls-blacklist: blacklist samr21-xpro" 2022-02-02 17:44:42 +01:00
pkg_micro-ecc tests/pkg_micro-ecc: increase stacksize 2022-03-24 07:57:53 +01:00
pkg_micro-ecc-with-hwrng
pkg_microcoap
pkg_minmea
pkg_monocypher
pkg_nanocbor
pkg_nanopb
pkg_nanors tests/pkg_nanors: add test for nanors 2022-02-26 11:09:14 +01:00
pkg_openwsn
pkg_openwsn_sock_udp
pkg_qcbor
pkg_qdsa
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 tests/pkg_relic: increase stacksize 2022-01-18 13:19:34 +01:00
pkg_semtech-loramac
pkg_spiffs tests/pkg_spiffs: memory-blacklist waspmote-pro 2022-03-29 21:49:35 +02:00
pkg_tflite-micro examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
pkg_tiny-asn1
pkg_tinycbor
pkg_tinycrypt
pkg_tinydtls_sock_async examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
pkg_tweetnacl
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 examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +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 Merge pull request #17434 from kaspar030/murdock_use_emulators 2022-04-06 14:41:48 +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
riotboot_flashwrite makefiles/boot/riotboot: refactor file storage and naming 2022-04-21 11:39:25 +02:00
riotboot_hdr
rmutex
rmutex_cpp
rng
rust_minimal tests/rust: Run minimal test on stable Rust 2022-04-07 09:58:25 +02:00
saul
saul_drivers
sched_change_priority tests/sched_change_priority: add test app 2022-01-28 11:29:18 +01:00
sched_testing
sema treewide: use sema_deprecated when required 2022-03-10 14:24:46 +01:00
senml_cbor tests/senml: do no include saul_default 2022-02-11 17:04:27 +01:00
senml_phydat sys/senml: add SenML modules 2022-02-11 12:38:21 +01:00
senml_saul tests/senml: do no include saul_default 2022-02-11 17:04:27 +01:00
shell Merge pull request #17434 from kaspar030/murdock_use_emulators 2022-04-06 14:41:48 +02:00
shell_ble tests/shell: remove z1 socat workaround 2022-03-28 08:53:27 +02:00
slip tests/slip: remove redundant slipdev_params.h 2022-02-14 20:03:18 +01:00
sntp
sock_udp_aux tests: add missing includes 2022-02-28 14:53:08 +01:00
socket_zep
ssp
stdin
stm32_bootloader
struct_tm_utility tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
suit_manifest tests/suit_manifest: fix seq_no of manifest4 2022-04-15 08:20:20 +02:00
sys_architecture test/sys_architecture: include kernel_defines.h 2022-02-12 18:30:58 +01:00
sys_arduino tests: add default BOARDS 2022-02-28 15:08:35 +01:00
sys_arduino_analog
sys_arduino_lib tests: add default BOARDS 2022-02-28 15:08:35 +01:00
sys_atomic_utils Merge pull request #17434 from kaspar030/murdock_use_emulators 2022-04-06 14:41:48 +02:00
sys_atomic_utils_unittests
sys_crypto tests/sys_crypto: fix potentially unitialized error 2022-03-01 09:55:25 +01:00
sys_crypto_aes_ccm
sys_fido2_ctap tests/sys_fido2_ctap: add script to reset authenticator 2022-04-11 13:04:53 +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
test_tools tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +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: uncrustify 2022-03-22 08:40:53 +01:00
thread_flood
thread_msg
thread_msg_block_race
thread_msg_block_w_queue tests: Fix thread return with local message queue 2022-01-11 21:51:09 +01:00
thread_msg_block_wo_queue
thread_msg_bus
thread_msg_seq
thread_priority_inversion tests/thread_priority_inversion: remove unneeded xtimer_init() 2022-01-25 08:42:06 +01:00
thread_race
thread_zombie
touch_dev tests/touch_dev: add Kconfig config 2022-01-22 15:14:18 +01:00
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 unitttests/sock_util: add sock_urlpath() to tests 2022-04-18 01:42:57 +02:00
usbus
usbus_cdc_acm_stdio
usbus_cdc_ecm
usbus_hid tests/usbus_hid: Adapt HID descriptors to use helper defines 2022-01-10 11:35:58 +01:00
vfs_default tests/vfs_default: add compile test for vfs_default 2022-03-29 10:24:01 +02:00
vfs_iterate_mount tests: Cover vfs_iterate_mount_dirs in a new test 2022-02-16 19:15:02 +01:00
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 tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
xtimer_now32_overflow tests/xtimer*: select xtimer_no_ztimer_default for tests requiring it 2022-03-17 14:37:40 +01:00
xtimer_now64_continuity Merge pull request #17434 from kaspar030/murdock_use_emulators 2022-04-06 14:41:48 +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 tests/xtimer_remove: springle some xtimer_is_set() calls 2022-02-09 12:54:47 +01:00
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/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +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
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
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.

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.