1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests
2020-09-24 21:15:13 +02:00
..
backtrace tests: rename tests/trace -> tests/backtrace 2020-06-04 14:37:41 +02:00
bench_msg_pingpong tests: remove uneeded blacklist 2020-03-24 10:18:59 +01:00
bench_mutex_pingpong tests: remove uneeded blacklist 2020-03-24 10:18:59 +01:00
bench_runtime_coreapis bench_runtime_coreapis/tests: multiple fixes 2020-03-24 14:15:50 +01:00
bench_sched_nop
bench_sizeof_coretypes
bench_thread_flags_pingpong tests: remove uneeded blacklist 2020-03-24 10:18:59 +01:00
bench_thread_yield_pingpong tests: remove uneeded blacklist 2020-03-24 10:18:59 +01:00
bench_timers tests/bench_timers: remove explicit zeroing of xtimer members 2020-04-21 11:26:57 +02:00
bench_xtimer tests/bench_xtimer: add sodaq-sara-sff to LOW_MEMORY_BOARDS 2020-06-15 21:13:14 +02:00
bench_xtimer_load
bitarithm_timings
blob
bloom_bytes tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
board_calliope-mini
board_microbit
build_system_cflags_spaces
build_system_utils
buttons tests/buttons: remove unused xtimer dependency 2020-05-25 18:14:41 +02:00
c11_atomics_cpp_compat tests/c11_atomics_cpp_compat: don't disable auto_init 2020-03-06 15:20:25 +01:00
can_trx tests/conn_can: Add can tranceiver 2020-05-11 14:10:42 +02:00
candev test/candev: add candev test app with native support 2020-03-10 18:13:15 +01:00
cb_mux
cb_mux_bench
cond_order tests/cond_order: refactor the test to avoid knowing the thread IDs 2020-06-09 16:29:32 +02:00
conn_can gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
cortexm_common_ldscript
cpp11_condition_variable tests/cpp11_condition_variable: fix NDEBUG compile problem 2020-03-12 17:40:46 +01:00
cpp11_mutex tests/cpp11_mutex: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
cpp11_thread tests/cpp11_thread: use sched_num_threads instead of const 2 2020-06-09 23:09:18 +02:00
cpp_ctors tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
cpp_exclude Makefile.include: rename MAKEFILEDIR to LAST_MAKEFILEDIR 2020-04-28 15:45:27 +02:00
cpp_ext Makefile.include: rename MAKEFILEDIR to LAST_MAKEFILEDIR 2020-04-28 15:45:27 +02:00
cpu_cortexm_address_check
cpu_efm32_features
devfs tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
disp_dev tests: use backlight defines instead of board module 2020-03-24 12:02:50 +01:00
driver_ad7746
driver_adcxx1c
driver_ads101x
driver_adt7310
driver_adxl345
driver_apa102
driver_apds99xx tests: add APDS99XX ALS and proximity 2020-03-11 14:21:47 +01:00
driver_apds99xx_full tests: add APDS99XX ALS and proximity 2020-03-11 14:21:47 +01:00
driver_at drivers/at: Add at_urc_isr module to process URCs upon arrival 2020-06-30 11:41:13 +02:00
driver_at24cxxx tests/driver_at24cxxx: test for at24cxxx EEPROM 2020-02-24 14:00:25 +01:00
driver_at24mac tests: add test for at24mac driver 2020-02-13 15:58:43 +01:00
driver_at25xxx Revert "tests/driver_at25xxx: adapt to change in driver API" 2020-05-06 20:24:27 +02:00
driver_at30tse75x
driver_at86rf2xx tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
driver_at86rf215 tests/driver_at86rf215: update Makefile.ci 2020-06-03 15:58:50 +02:00
driver_ata8520e
driver_atwinc15x0 tests: application for ATWINC15x00 driver test 2020-06-26 12:33:38 +02:00
driver_bh1750
driver_bh1900nux
driver_bme680 tests: add test application for BME680 driver 2020-03-12 08:42:59 +01:00
driver_bmp180
driver_bmx055
driver_bmx280 tests/driver_bmx280: fix broken links 2020-03-24 10:39:49 +01:00
driver_cc110x boards/im880b: add insufficient memory to tests 2020-03-13 14:36:51 +01:00
driver_ccs811
driver_ccs811_full
driver_dcf77
driver_dfplayer tests: Added test for the dfplayer driver 2020-06-28 21:06:49 +02:00
driver_dht
driver_dose tests: add arduino-nano to Makefile.ci 2020-04-01 11:05:37 +02:00
driver_ds18
driver_ds75lx
driver_ds1307 tests: remove uneeded blacklist 2020-03-24 10:18:59 +01:00
driver_ds3234
driver_dsp0401
driver_dynamixel
driver_edbg_eui drivers/edbg_eui: add driver to get MAC address from Atmel EDBG 2020-05-26 10:44:11 +02:00
driver_enc28j60
driver_encx24j600 gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
driver_feetech
driver_fxos8700
driver_grove_ledbar
driver_hd44780
driver_hdc1000
driver_hih6130
driver_hmc5883l tests: add hmc5883l driver test 2020-04-01 13:37:22 +02:00
driver_hts221
driver_ili9341 tests: use backlight defines instead of board module 2020-03-24 12:02:50 +01:00
driver_ina2xx
driver_ina3221
driver_io1_xplained
driver_isl29020
driver_isl29125
driver_itg320x
driver_jc42
driver_kw2xrf
driver_l3g4200d
driver_lc709203f
driver_lis2dh12 drivers/lis2dh12: added interrupt function 2020-03-04 17:01:58 +01:00
driver_lis3dh
driver_lis3mdl
driver_lpd8808
driver_lpsxxx
driver_lsm6dsl
driver_lsm303dlhc
driver_ltc4150
driver_mag3110
driver_mhz19 tests/mhz19: add test application 2020-06-17 08:41:41 +02:00
driver_mma8x5x
driver_mma7660
driver_motor_driver tests/driver_motor_driver: fix NDEBUG compile problem 2020-03-12 17:44:41 +01:00
driver_mpl3115a2
driver_mpu9x50
driver_mpu9150
driver_mq3
driver_mrf24j40 tests: add arduino-nano to Makefile.ci 2020-04-01 11:05:37 +02:00
driver_my9221
driver_netdev_common gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
driver_nrf24l01p_lowlevel
driver_nrfmin
driver_nvram_spi
driver_opt3001
driver_pca9633 tests/driver_pca9633: add test for pca9633 driver 2020-06-25 22:31:19 +02:00
driver_pca9685 tests/driver_pca9685: add atmega32u4 boards to Makefile.ci 2020-03-30 12:32:57 +02:00
driver_pcd8544
driver_ph_oem
driver_pir
driver_pn532
driver_pulse_counter
driver_qmc5883l
driver_rn2xx3
driver_sdcard_spi
driver_sdp3x drivers/sdp3x: Driver for sensirion sdp3x sensor 2020-06-29 20:50:41 +02:00
driver_sds011
driver_servo
driver_sht1x
driver_sht2x
driver_sht3x
driver_shtc1
driver_si70xx
driver_si114x tests/driver_si114x: fix broken links 2020-03-24 10:39:49 +01:00
driver_soft_spi
driver_sps30 tests: add test application for Sensirion SPS30 sensor driver 2020-02-20 14:26:55 +01:00
driver_srf02
driver_srf04
driver_srf08 tests/driver_srf08: update with new init scheme 2020-02-25 21:24:02 +01:00
driver_stmpe811 tests/driver_stmpe811: add test application 2020-02-13 09:14:51 +01:00
driver_sx127x tests: add new boards in low memory blacklists 2020-04-28 18:35:17 +02:00
driver_tcs37727
driver_tmp00x drivers/tmp00x : Add CONFIG_ 2020-05-20 19:09:48 +05:30
driver_tps6274x
driver_tsl2561
driver_tsl4531x
driver_vcnl40x0
driver_veml6070
driver_w5100 tests: add arduino-nano to Makefile.ci 2020-04-01 11:05:37 +02:00
driver_ws281x drivers/ws281x: Use FEATURES_REQUIRED_ANY 2020-04-01 09:12:50 +02:00
driver_xbee gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
eepreg
emb6
embunit tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
emcute tests/emcute: add small inter-packet gap between server replies 2020-04-16 22:19:51 +02:00
event_threads
event_wait_timeout tests/event_wait_timeout: Use C11 atomics for IPC 2020-04-23 21:16:03 +02:00
events tests/events: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
evtimer_msg tests/evtimer_msg: fix assert range 2020-03-24 14:15:25 +01:00
evtimer_underflow
external_board_dirs tests/external_board_dirs: Test app for EXTERNAL_BOARD_DIRS 2020-04-29 18:32:39 +02:00
external_board_native tests/external_board_native: Extended readme 2020-04-29 18:32:39 +02:00
external_module_dirs Makefile.include: rename MAKEFILEDIR to LAST_MAKEFILEDIR 2020-04-28 15:45:27 +02:00
fault_handler
float tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
fmt_print
frac-config
gnrc_dhcpv6_client tests/gnrc_dhcpv6_client: Increase timeout 2020-04-27 11:31:48 +02:00
gnrc_dhcpv6_client_6lbr gnrc_netif: remove GNRC_NETIF_NUMOF macro 2020-03-26 11:12:23 +01:00
gnrc_gomach gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_ipv6_ext boards/im880b: add insufficient memory to tests 2020-03-13 14:36:51 +01:00
gnrc_ipv6_ext_frag tests: Use returned value of 'check_unittests' 2020-04-03 14:52:48 +02:00
gnrc_ipv6_ext_opt tests: provide tests for gnrc_ipv6_ext_opt 2020-05-20 12:34:04 +02:00
gnrc_ipv6_fwd_w_sub gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_ipv6_nib gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_ipv6_nib_6ln tests/gnrc_ipv6_nib_6ln: remove NETOPT_IPV6_IID support in mock-device 2020-06-25 13:41:33 +02:00
gnrc_ipv6_nib_dns gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_lwmac gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_mac_timeout
gnrc_ndp gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_netif tests/gnrc_netif: fix test script for empty payload 2020-05-06 10:46:59 +02:00
gnrc_netif_ieee802154
gnrc_rpl_p2p tests: add simple compile test for gnrc_rpl_p2p 2020-02-19 22:54:09 +01:00
gnrc_rpl_srh gnrc_rpl_srh: use AsyncSniffer for sniffing 2020-04-08 15:36:34 +02:00
gnrc_sixlowpan gnrc_netif_xxx_create: use external netif allocation 2020-03-26 11:12:23 +01:00
gnrc_sixlowpan_frag gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_sixlowpan_iphc_w_vrb gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_sock_async_event gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_sock_dns gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_sock_ip gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_sock_neterr gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_sock_udp gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
gnrc_tcp tests/gnrc_tcp/ : Set 'CONFIG_' if not Kconfig 2020-06-02 15:46:44 +05:30
gnrc_udp gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
heap_cmd
irq tests/irq: remove USEMODULE += auto_init 2020-03-06 15:15:38 +01:00
irq_disable_restore tests: Add test for irq_disable() / irq_restore() 2020-05-04 12:52:39 +02:00
isr_yield_higher
kconfig
kconfig_features tests/kconfig_features: Add slwstk6220a to whitelist 2020-06-29 14:03:02 +02:00
l2util tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
leds
libc_newlib Revert "tests/libc_newlib: blacklist esp32 boards temporarily" 2020-04-04 13:37:56 +02:00
log_color
log_printfnoformat
lua_loader tests/lua_loader: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
lwip tests/lwip: adapt for IPv4/6 dual-stack usage 2020-06-25 12:45:37 +02:00
lwip_sock_ip tests/lwip_sock_{ip,udp}: extend tests for new function 2020-04-28 09:46:07 +02:00
lwip_sock_tcp tests/lwip_sock_tcp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
lwip_sock_udp tests/lwip_sock_{ip,udp}: extend tests for new function 2020-04-28 09:46:07 +02:00
malloc
mcuboot
memarray memarray: fix memarray init 2020-03-09 17:56:34 +01:00
minimal makefiles: Minor clean ups 2020-04-02 09:56:39 +02:00
mpu_noexec_ram tests/mpu_noexec_ram: convert to an automated test 2020-03-10 11:16:22 +01:00
mpu_stack_guard tests/mpu_stack_guard: update Makefile.ci 2020-03-03 22:58:21 +01:00
msg_avail tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
msg_send_receive
msg_try_receive tests: remove uneeded blacklist 2020-03-24 10:18:59 +01:00
mtd_at24cxxx tests/mtd_at24cxxx: add test for at24cxxx MTD wrapper 2020-05-20 19:45:37 +02:00
mtd_at25xxx mtd: Change API to return 0 on success 2020-05-06 20:24:27 +02:00
mtd_flashpage cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
mtd_mapper mtd_mapper: count offset in sectors 2020-05-12 12:02:05 +02:00
mutex_order tests/mutex_order: refactor the test to avoid knowing the thread IDs 2020-06-09 22:54:27 +02:00
mutex_unlock_and_sleep tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
nanocoap_cli
netdev_test gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
netstats_l2 tests/netstats_l2: disable test run for esp32-wroom-32 2020-06-09 13:41:09 +02:00
nimble_autoconn_ccnl
nimble_autoconn_gnrc
nimble_l2cap tests/nimble_l2cap: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
nimble_l2cap_server tests/nimble_l2cap_server: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
nordic_softdevice tests/nordic_softdevice: disable CI testing 2020-03-04 14:15:17 +01:00
od tests/od: always include od_string in test 2020-06-22 13:33:41 +02:00
periph_adc
periph_backup_ram tests/periph_backup_ram: use BACKUP_RAM attribute 2020-03-19 13:38:50 +01:00
periph_cpuid
periph_dac
periph_dma
periph_eeprom tests/periph_eeprom: use native as default board 2020-04-29 08:56:34 +02:00
periph_flashpage
periph_gpio tests: adapt to test_utils_interactive_sync_shell 2020-03-17 17:23:28 +01:00
periph_gpio_arduino
periph_hwrng
periph_i2c tests/periph_i2c: add tests for periph_i2c_reconfigure features 2020-05-05 16:12:19 +02:00
periph_pm tests/periph_pm: introduce set_rtc 2020-04-29 18:06:36 +02:00
periph_pwm tests/periph_pwm: limit OSC_STEPS to 256 to work on all platforms 2020-05-16 18:57:06 +02:00
periph_qdec
periph_rtc tests/periph_rtc: don't set time in the past 2020-03-03 11:01:02 +01:00
periph_rtt tests/periph_rtt: fix invalid RTT_FREQUENCY set for non stm32f1 2020-05-30 19:07:50 +02:00
periph_spi tests/periph_spi: add test for periph_spi_reconfigure feature 2020-06-21 21:21:39 +02:00
periph_spi_dma tests/periph_spi_dma: Add test for SPI with DMA 2020-06-15 19:28:12 +02:00
periph_timer tests/periph_timer: TIMER_SPEED=CLOCK_CORECLOCK for cc2538 boards 2020-03-21 19:32:24 +01:00
periph_timer_periodic tests/periph_timer_periodic: use TIMER_CHANNEL_NUMOF 2020-06-24 00:45:35 +02:00
periph_timer_short_relative_set
periph_uart tests/periph_uart: fix for !stdio_uart 2020-04-26 20:31:28 +02:00
periph_uart_mode
periph_uart_nonblocking tests/periph_uart_nonblocking: test print with disabled irq 2020-06-17 10:01:20 +02:00
periph_wdt tests: remove uneeded blacklist 2020-03-24 10:18:59 +01:00
phydat_dump tests: add phydat dump test 2020-02-29 12:36:55 +01:00
pipe
pkg_c25519 cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
pkg_cayenne-lpp
pkg_cifra tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_cmsis-dsp
pkg_cmsis-nn cpu/cortexm_common: Rename arch_cortexm feature to cpu_core_cortexm 2020-06-16 12:05:41 +02:00
pkg_cn-cbor tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_cryptoauthlib_compare_sha256
pkg_cryptoauthlib_internal-tests tests/pkg_cryptoauthlib_internal: blacklist atmega256rfr2 boards 2020-06-12 13:08:34 +02:00
pkg_emlearn tests/pkg_emlearn: exclude low memory boards 2020-06-28 21:50:51 +02:00
pkg_fatfs
pkg_fatfs_vfs Merge pull request #13866 from benpicco/pkg/fs_params 2020-07-01 14:19:00 +02:00
pkg_flatbuffers
pkg_hacl tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_heatshrink tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_jsmn
pkg_libb2 tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_libbase58 tests: add pkg_libbase58 test 2020-03-29 23:18:34 +02:00
pkg_libcoap
pkg_libcose tests/pkg_libcose: remove the monocypher crypto option 2020-03-25 09:37:06 +01:00
pkg_libfixmath
pkg_libfixmath_unittests
pkg_libhydrogen tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_littlefs tests: don't set VFS params by the application 2020-06-17 15:58:33 +02:00
pkg_littlefs2 tests: don't set VFS params by the application 2020-06-17 15:58:33 +02:00
pkg_lora-serialization
pkg_lvgl tests: use backlight defines instead of board module 2020-03-24 12:02:50 +01:00
pkg_micro-ecc tests/pkg_micro-ecc: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
pkg_micro-ecc-with-hwrng
pkg_microcoap gnrc/pktbuf : Move 'GNRC_PKTBUF_SIZE' to 'CONFIG_' 2020-06-11 14:46:36 +05:30
pkg_minmea
pkg_monocypher tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_nanocbor tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_nanopb pkg/nanopb: fix for proto files with includes 2020-04-02 17:21:25 +02:00
pkg_openwsn tests/pkg_openwsn: initial import 2020-06-30 13:08:37 +02:00
pkg_qcbor tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_qdsa tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_relic tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_semtech-loramac tests/pkg_semtech-loramac: add automatic test 2020-07-01 09:08:08 +02:00
pkg_spiffs tests/pkg_spiffs: increase test timeout to 90s 2020-06-30 17:42:28 +02:00
pkg_tensorflow-lite tests/pkg_tensorflow-lite: fix broken links 2020-03-24 10:39:49 +01:00
pkg_tiny-asn1
pkg_tinycbor tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_tinycrypt
pkg_tinydtls_sock_async tests: provide test for tinydtls with sock_async 2020-06-21 23:08:41 +02:00
pkg_tweetnacl tests/pkg_*: refactor some test scripts 2020-03-19 10:39:35 +01:00
pkg_u8g2
pkg_ubasic
pkg_ucglib tests/pkg_ucglib: updated tests 2020-06-17 00:47:54 +02:00
pkg_umorse
pkg_utensor Makefile.include: rename MAKEFILEDIR to LAST_MAKEFILEDIR 2020-04-28 15:45:27 +02:00
pkg_wolfcrypt-ed25519-verify tests/pkg_wolfcrypt-ed25519-verify: fix broken links 2020-03-24 10:39:49 +01:00
pkg_wolfssl
pkg_yxml tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
posix_semaphore tests/posix_semaphore: better guarantee sequence of output lines 2020-06-14 20:03:32 +02:00
posix_time
progress_bar
ps_schedstatistics tests: adapt to test_utils_interactive_sync_shell 2020-03-17 17:23:28 +01:00
pthread
pthread_barrier
pthread_cleanup
pthread_condition_variable
pthread_cooperation boards/im880b: add insufficient memory to tests 2020-03-13 14:36:51 +01:00
pthread_flood cpu/atmega32u4: Clean up 2020-05-15 11:23:05 +02:00
pthread_rwlock
pthread_tls
puf_sram
riotboot
riotboot_flashwrite gnrc/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
riotboot_hdr tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
rmutex tests/rmutex: refactor the test to avoid having to know the thread IDs 2020-06-09 23:05:30 +02:00
rmutex_cpp tests/rmutex_cpp: refactor the test to avoid having to know the thread IDs 2020-06-10 21:08:45 +02:00
rng tests/rng: remove explicit zeroing of xtimer members 2020-04-21 11:26:56 +02:00
saul
sched_testing
shell tests/shell: don't expect idle thread in ps output 2020-06-25 16:02:29 +02:00
slip
sntp
socket_zep tests/socket_zep: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
ssp tests: handle cases for bootloader_nrfutil blacklist 2020-04-08 09:35:08 +02:00
stdin
stm32_bootloader tests/stm32_bootloader: add test for STM32 bootloader mode 2020-06-05 18:41:06 +02:00
struct_tm_utility tests: remove shell commands added only for interactive_sync 2020-03-17 17:23:27 +01:00
suit_manifest dist/tools/suit: Update suit tooling to IETF-v7 compliance 2020-09-24 21:15:13 +02:00
sys_arduino
sys_arduino_analog
sys_arduino_lib
sys_crypto tests/sys_crypto/tests-crypto-modes-ccm: add test for input_len=0 2020-04-10 10:41:01 +02:00
sys_irq_handler cpu/atmega32u4: Clean up 2020-05-15 11:23:05 +02:00
sys_stdio_semihosting stdio_semihosting: Add shell-based test application 2020-06-09 10:15:49 +02:00
test_tools tests/test_tools: include dummy_thread 2020-06-09 13:25:14 +02:00
thread_basic tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
thread_cooperation tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
thread_exit tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
thread_flags tests/thread_flags: add call to set_timeout_flag64 2020-02-13 15:37:30 +01:00
thread_flags_xtimer
thread_float
thread_flood tests/thread_flood: use sched_num_threads to know the first thread ID 2020-06-08 11:22:04 +02:00
thread_msg tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
thread_msg_block_race tests/thread_msg_block_race: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
thread_msg_block_w_queue tests: remove uneeded blacklist 2020-03-24 10:18:59 +01:00
thread_msg_block_wo_queue tests: remove uneeded blacklist 2020-03-24 10:18:59 +01:00
thread_msg_bus tests/thread_msg_bus: add test application for message bus 2020-04-28 13:35:05 +02:00
thread_msg_seq tests/thread_msg_seq: better guarantee sequence of output lines 2020-06-15 21:53:56 +02:00
thread_priority_inversion
thread_race tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
thread_zombie tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
touch_dev tests/touch_dev: add test application 2020-04-28 18:18:01 +02:00
trace tests/trace: add sys/trace test application 2020-06-10 21:21:34 +02:00
trickle
unittests Merge pull request #14224 from kaspar030/cortexm_remove_idle_thread 2020-06-26 11:04:19 +02:00
usbus usb: Move Kconfig/Makefile merging into main Makefile.include 2020-06-30 10:51:37 +02:00
usbus_cdc_acm_stdio usb: Warn on test-ID usage in a unified location 2020-06-30 10:51:36 +02:00
usbus_cdc_ecm usb: Warn on test-ID usage in a unified location 2020-06-30 10:51:36 +02:00
vfs_plus_stdio
warn_conflict
xtimer_drift tests/xtimer_drift: ztimer_xtimer_compat fix 2020-03-04 12:44:03 +01:00
xtimer_hang
xtimer_longterm
xtimer_msg tests/xtimer_msg: Use %lu to print times 2020-04-23 21:16:57 +02:00
xtimer_msg_receive_timeout
xtimer_mutex_lock_timeout tests/xtimer_mutex_lock_timeout: don't assume number of threads at start 2020-06-11 21:20:48 +02:00
xtimer_now32_overflow tests/xtimer_now32_overflow: fix active timers going out of scope 2020-06-09 21:21:45 +02:00
xtimer_now64_continuity
xtimer_now_irq tests/xtimer_now_irq/: New test for xtimer_now() with irq_disable() 2020-05-01 15:37:51 +02:00
xtimer_overhead tests/xtimer_overhead: initial commit 2020-03-04 11:32:12 +01:00
xtimer_periodic_wakeup
xtimer_remove
xtimer_reset
xtimer_rmutex_lock_timeout tests/xtimer_rmutex_lock_timeout: new test 2020-05-04 17:56:08 +02:00
xtimer_usleep
xtimer_usleep_short
ztimer_msg cpu/atmega32u4: Clean up 2020-05-15 11:23:05 +02:00
ztimer_overhead tests/ztimer_overhead: update to use signed ztimer_overhead() 2020-03-10 12:23:33 +01:00
ztimer_underflow tests/ztimer_underflow: initial commit 2020-06-23 11:57:28 +02:00
Makefile.tests_common
README.md tests: add interactive_sync adapted to shell 2020-03-17 17:23:27 +01: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