1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests
2020-10-13 10:30:22 +02:00
..
backtrace
bench_msg_pingpong Merge pull request #14661 from bergzand/pr/tests/bench/Add_ticks_result 2020-08-06 13:50:11 +02:00
bench_mutex_pingpong Merge pull request #14661 from bergzand/pr/tests/bench/Add_ticks_result 2020-08-06 13:50:11 +02:00
bench_runtime_coreapis tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
bench_sched_nop bench_sched_nop: Add number of clock ticks per cycle 2020-08-06 11:54:24 +02:00
bench_sizeof_coretypes
bench_sys_base64 examples,tests: Updated Makefile.ci 2020-07-27 20:51:52 +02:00
bench_thread_flags_pingpong tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
bench_thread_yield_pingpong Merge pull request #14661 from bergzand/pr/tests/bench/Add_ticks_result 2020-08-06 13:50:11 +02:00
bench_timers tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
bench_xtimer tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
bench_xtimer_load tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
bitarithm_timings tests/bitarithm_timings: add bitarithm_test_and_clear() to the test 2020-07-21 16:03:59 +02:00
blob
bloom_bytes picolibc: Use most NEWLIB code with picolibc 2020-08-24 08:26:16 -07:00
board_calliope-mini
board_microbit
build_system_cflags_spaces
build_system_utils
buttons
c11_atomics_cpp_compat tests/c11_atomics_cpp_compat: remove msp430 special case 2020-08-05 14:32:58 +02:00
can_trx
candev tests/candev: prevent deadlock when sending CAN messages without payload 2020-10-07 21:22:46 +02:00
cb_mux
cb_mux_bench
cond_order tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
conn_can tests/conn_can: Add to README 2020-08-27 16:35:40 +02:00
cortexm_common_ldscript
cpp11_condition_variable
cpp11_mutex
cpp11_thread tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
cpp_ctors
cpp_exclude
cpp_ext
cpu_cortexm_address_check
cpu_efm32_features
devfs
disp_dev tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ad7746
driver_adcxx1c
driver_ads101x
driver_adt7310
driver_adxl345
driver_aip31068 tests/driver_aip31068: add test for aip31068 driver 2020-09-29 14:42:19 +02:00
driver_apa102
driver_apds99xx
driver_apds99xx_full drivers/apds99xx: Fix includes 2020-09-16 19:55:22 +02:00
driver_at tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_at24cxxx examples,tests: Updated Makefile.ci 2020-07-27 20:51:52 +02:00
driver_at24mac
driver_at25xxx
driver_at30tse75x
driver_at86rf2xx drivers/at86rf2xx: register driver with netdev 2020-08-17 22:53:51 +02:00
driver_at86rf2xx_aes tests/driver_at86rf2xx_aes: silence warning on native 2020-08-25 14:07:13 +02:00
driver_at86rf215 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ata8520e
driver_atwinc15x0 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_bh1750
driver_bh1900nux
driver_bme680
driver_bmp180
driver_bmx055 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_bmx280
driver_cc110x tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ccs811
driver_ccs811_full tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
driver_dcf77 tests: remove obsolete msp430 blacklists 2020-08-05 14:32:58 +02:00
driver_dfplayer
driver_dht
driver_dose tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ds18
driver_ds75lx
driver_ds1307 examples,tests: Updated Makefile.ci 2020-07-27 20:51:52 +02:00
driver_ds3234
driver_dsp0401
driver_dynamixel tests, examples: remove chronos references 2020-08-05 14:32:58 +02:00
driver_edbg_eui
driver_enc28j60 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_encx24j600 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_feetech tests, examples: remove chronos references 2020-08-05 14:32:58 +02:00
driver_fxos8700
driver_grove_ledbar cpu/native: allow to disable native periph implementations 2020-08-25 13:53:14 +02:00
driver_hd44780 cpu/native: allow to disable native periph implementations 2020-08-25 13:53:14 +02:00
driver_hdc1000
driver_hih6130
driver_hmc5883l tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
driver_hts221
driver_ili9341 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ina2xx
driver_ina3221 tests/driver_ina3221: fix typo 'thist' -> 'this' 2020-10-02 08:17:06 +02:00
driver_io1_xplained
driver_isl29020
driver_isl29125
driver_itg320x tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
driver_jc42
driver_kw2xrf tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_l3g4200d
driver_lc709203f
driver_lis2dh12 tests: use inline functions for GPIO comparison 2020-08-31 13:11:05 +02:00
driver_lis3dh
driver_lis3mdl
driver_lpd8808
driver_lpsxxx
driver_lsm6dsl
driver_lsm303dlhc
driver_ltc4150
driver_mag3110
driver_mhz19
driver_mma8x5x
driver_mma7660
driver_motor_driver
driver_mpl3115a2
driver_mpu9x50
driver_mpu9150
driver_mq3
driver_mrf24j40 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_my9221 cpu/native: allow to disable native periph implementations 2020-08-25 13:53:14 +02:00
driver_netdev_common tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_nrf24l01p_lowlevel
driver_nrfmin
driver_nvram_spi
driver_opt3001
driver_pca9633
driver_pca9685
driver_pcd8544
driver_ph_oem tests: use inline functions for GPIO comparison 2020-08-31 13:11:05 +02:00
driver_pir
driver_pn532
driver_pulse_counter
driver_qmc5883l tests: use inline functions for GPIO comparison 2020-08-31 13:11:05 +02:00
driver_rn2xx3
driver_scd30 driver/scd30: Add driver for Sensirion SCD30 2020-07-28 10:38:01 +02:00
driver_sdcard_spi tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_sdp3x driver/sdp3x: Resolved irq pin code used even if irq pin not connected 2020-07-30 16:35:35 +02:00
driver_sds011
driver_seesaw_soil Add support for Adafruit Seesaw Soil moisture sensor (#14835) 2020-09-23 17:35:33 +02:00
driver_servo
driver_sht1x
driver_sht2x
driver_sht3x
driver_shtc1
driver_si70xx
driver_si114x
driver_soft_spi
driver_soft_uart tests/driver_soft_uart: Makefile.ci: add small stm32 boards 2020-08-09 22:55:22 +02:00
driver_sps30 drivers/sps30: Add sleep mode 2020-08-25 16:20:18 +02:00
driver_srf02
driver_srf04
driver_srf08
driver_stmpe811 tests/driver_stmpe811: update application README 2020-07-22 09:59:39 +02:00
driver_sx127x tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_tcs37727
driver_tmp00x
driver_tps6274x
driver_tsl2561
driver_tsl4531x
driver_vcnl40x0
driver_veml6070
driver_w5100 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ws281x
driver_xbee tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
eepreg
embunit
emcute tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
event_threads
event_wait_timeout tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
events sys/event: Add multi-queue initializers 2020-08-05 11:59:40 +02:00
evtimer_mbox evtimer: add mbox support 2020-08-21 15:19:22 +02:00
evtimer_msg tests/evtimer_msg: use evtimer_now_msec() to get current time 2020-09-17 16:58:32 +02:00
evtimer_underflow
external_board_dirs
external_board_native
external_module_dirs
fault_handler
float tests/float: don't increase iterations for native 2020-07-29 13:25:55 +02:00
fmt_print
frac-config
gnrc_dhcpv6_client tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_dhcpv6_client_6lbr tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_gomach
gnrc_ipv6_ext tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_ipv6_ext_frag tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_ipv6_ext_opt tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_ipv6_fwd_w_sub tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_ipv6_nib tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_ipv6_nib_6ln tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_ipv6_nib_dns tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_lwmac
gnrc_mac_timeout tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_ndp tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_netif tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_netif_ieee802154
gnrc_rpl_p2p tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_rpl_srh tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_sixlowpan tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_sixlowpan_frag tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_sixlowpan_iphc_w_vrb tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_sock_async_event tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_sock_dns tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_sock_ip tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_sock_neterr tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_sock_udp tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_tcp tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
gnrc_udp tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
heap_cmd
ieee802154_hal tests/ieee802154_hal: use netdev_default 2020-09-10 17:23:54 +02:00
ieee802154_submac tests/ieee802154_submac: add test application 2020-10-01 10:55:55 +02:00
irq
irq_disable_restore
isr_yield_higher
kconfig
kconfig_features tests/kconfig_features: remove board whitelist 2020-07-17 09:42:57 +02:00
l2util
leds
libc_newlib
log_color
log_printfnoformat
lua_loader
lwip tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
lwip_sock_ip tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
lwip_sock_tcp tests/lwip_sock_tcp: remove duplicated xtimer_init 2020-10-08 16:26:17 +02:00
lwip_sock_udp tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
malloc tests/malloc: increase timeout, for larger BOARDs 2020-10-07 18:16:23 +02:00
mcuboot
memarray
minimal
mpu_noexec_ram
mpu_stack_guard tests/mpu_stack_guard: add automatic test script 2020-10-06 16:34:35 +02:00
msg_avail
msg_send_receive
msg_try_receive examples,tests: Updated Makefile.ci 2020-07-27 20:51:52 +02:00
mtd_at24cxxx
mtd_at25xxx
mtd_flashpage
mtd_mapper tests: remove esp32-wroom-32 from blacklist of mtd using tests 2020-10-09 13:29:55 +02:00
mutex_order tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
mutex_unlock_and_sleep
nanocoap_cli tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
netdev_test tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
netif tests/netif: add tests for common netif functions 2020-08-25 17:42:25 +02:00
netstats_l2
nimble_autoconn_ccnl boards/e104-bt5010a-tb: add support for the E104-BT5010A Test Board 2020-08-25 22:51:10 +02:00
nimble_autoconn_gnrc boards/e104-bt5010a-tb: add support for the E104-BT5010A Test Board 2020-08-25 22:51:10 +02:00
nimble_l2cap Merge pull request #14372 from benpicco/cpu/nrf52-full 2020-08-27 13:51:12 +02:00
nimble_l2cap_server boards/e104-bt5010a-tb: add support for the E104-BT5010A Test Board 2020-08-25 22:51:10 +02:00
nimble_statconn_gnrc boards/e104-bt5010a-tb: add support for the E104-BT5010A Test Board 2020-08-25 22:51:10 +02:00
nordic_softdevice
od tests/od: fix typo 'discrepency' -> 'discrepancy' 2020-10-02 08:17:59 +02:00
periph_adc
periph_backup_ram
periph_cpuid
periph_dac
periph_dma
periph_eeprom
periph_flashpage
periph_gpio tests/periph_gpio: enable tamper wake 2020-09-17 18:47:10 +02:00
periph_gpio_arduino
periph_hwrng
periph_i2c tests/periph_i2c: fix typo 'consumtion' -> 'consumption' 2020-10-02 08:18:16 +02:00
periph_pm tests: remove obsolete msp430 blacklists 2020-08-05 14:32:58 +02:00
periph_pwm
periph_qdec
periph_rtc cpu/native: RTC: implement rtc_set_alarm() 2020-08-16 23:28:30 +02:00
periph_rtt
periph_rtt_min tests/periph_rtt_min: adapt test to slow rtt 2020-09-02 15:29:35 +02:00
periph_spi tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
periph_spi_dma
periph_timer tests/periph_timer: Fix frequency for waspmote-pro 2020-09-23 20:12:06 +02:00
periph_timer_periodic tests/periph_timer_periodic: increase test margin for slow uarts 2020-10-07 17:30:20 +02:00
periph_timer_short_relative_set tests/periph_timer_short_relative_set: Don't include xtimer.h 2020-09-16 20:26:01 +02:00
periph_uart
periph_uart_mode
periph_uart_nonblocking
periph_wdt tests/periph_wdt: use different intervals for cc2538 2020-09-01 16:13:36 +02:00
phydat_dump
pipe tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_c25519 tests/pkg_c25519: increase test timeout (z1 needs >5min) 2020-08-05 14:32:58 +02:00
pkg_cayenne-lpp
pkg_cifra
pkg_cmsis-dsp
pkg_cmsis-nn tests/pkg_cmsis-nn: update doc for support for Cortex-M33 2020-10-06 17:11:26 +02:00
pkg_cn-cbor tests/pkg_cn-cbor: Use memarray_calloc for allocations 2020-09-02 19:24:08 +02:00
pkg_cryptoauthlib_compare_sha256 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_cryptoauthlib_internal-tests tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_emlearn tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_fatfs
pkg_fatfs_vfs tests/pkg_fatfs_vfs: adapt for mtd_mci 2020-09-25 15:26:02 +02:00
pkg_flatbuffers
pkg_hacl
pkg_heatshrink tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_jsmn
pkg_libb2 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_libbase58
pkg_libcoap tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_libcose tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_libfixmath
pkg_libfixmath_unittests tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_libhydrogen
pkg_littlefs tests: remove esp32-wroom-32 from blacklist of mtd using tests 2020-10-09 13:29:55 +02:00
pkg_littlefs2 tests: remove esp32-wroom-32 from blacklist of mtd using tests 2020-10-09 13:29:55 +02:00
pkg_lora-serialization
pkg_lvgl tests/periph_timer_periodic: increase test margin for slow uarts 2020-10-07 17:30:20 +02:00
pkg_lvgl_touch tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_micro-ecc
pkg_micro-ecc-with-hwrng
pkg_microcoap tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_minmea tests: remove obsolete msp430 blacklists 2020-08-05 14:32:58 +02:00
pkg_monocypher tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_nanocbor
pkg_nanopb
pkg_openwsn pkg/openwsn: add riot based openwsn scheduler 2020-09-10 09:37:43 +02:00
pkg_qcbor
pkg_qdsa tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_relic tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_semtech-loramac tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_spiffs tests: remove esp32-wroom-32 from blacklist of mtd using tests 2020-10-09 13:29:55 +02:00
pkg_tensorflow-lite tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_tiny-asn1
pkg_tinycbor
pkg_tinycrypt
pkg_tinydtls_sock_async tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_tweetnacl tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_u8g2 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_ubasic tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_ucglib tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_umorse
pkg_utensor tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_wolfcrypt-ed25519-verify tests/pkg_wolfcrypt-ed25519-verify: cleanups and add test 2020-08-26 17:32:05 +02:00
pkg_wolfssl tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_yxml
posix_semaphore tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
posix_time
prng_sha1prng tests/prng_sha1prng: add test application 2020-07-22 12:25:09 +02:00
prng_sha256prng tests/prng_sha256prng: add test application 2020-07-22 12:25:09 +02:00
progress_bar
ps_schedstatistics tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pthread
pthread_barrier
pthread_cleanup
pthread_condition_variable
pthread_cooperation
pthread_flood tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pthread_rwlock tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pthread_tls
puf_sram tests/puf_sram: use puf_sram as a feature 2020-09-04 13:50:02 +02:00
riotboot tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
riotboot_flashwrite tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
riotboot_hdr
rmutex tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
rmutex_cpp tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
rng picolibc: Use most NEWLIB code with picolibc 2020-08-24 08:26:16 -07:00
saul
sched_testing
shell tests, examples: remove chronos references 2020-08-05 14:32:58 +02:00
slip tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
sntp tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
socket_zep tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
ssp tests: blacklist highlevel_stdio instead of bootloader_% 2020-10-13 10:30:22 +02:00
stdin
stm32_bootloader
struct_tm_utility tests: remove obsolete msp430 blacklists 2020-08-05 14:32:58 +02:00
suit_manifest tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
sys_architecture tests: Add test app for sys/architecture 2020-09-29 12:34:01 +02:00
sys_arduino
sys_arduino_analog
sys_arduino_lib
sys_crypto tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
sys_irq_handler
sys_stdio_semihosting
test_tools
thread_basic
thread_cooperation tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
thread_exit
thread_flags
thread_flags_xtimer tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
thread_float tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
thread_flood
thread_msg tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
thread_msg_block_race tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
thread_msg_block_w_queue tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
thread_msg_block_wo_queue tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
thread_msg_bus tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
thread_msg_seq tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
thread_priority_inversion
thread_race tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
thread_zombie tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
touch_dev tests/touch_dev: adapt test application with new stmpe811 behavior 2020-07-29 14:30:03 +02:00
trace tests/trace: reduce trace buffer size 2020-07-23 12:45:43 +02:00
trickle tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
unittests tests: blacklist highlevel_stdio instead of bootloader_% 2020-10-13 10:30:22 +02:00
usbus drivers: add usbdev_mock 2020-09-04 15:01:16 +02:00
usbus_cdc_acm_stdio
usbus_cdc_ecm
vfs_plus_stdio
warn_conflict
xtimer_drift tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
xtimer_hang
xtimer_longterm tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
xtimer_msg tests/xtimer_msg: check result of thread_create() 2020-08-11 12:12:08 +02:00
xtimer_msg_receive_timeout tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
xtimer_mutex_lock_timeout tests/xtimer_mutex_lock_timeout: Fix compilation 2020-09-16 20:09:42 +02:00
xtimer_now32_overflow
xtimer_now64_continuity
xtimer_now_irq
xtimer_overhead
xtimer_periodic_wakeup tests, examples: remove chronos references 2020-08-05 14:32:58 +02:00
xtimer_remove
xtimer_reset
xtimer_rmutex_lock_timeout tests/xtimer_rmutex_lock_timeout: Fix compilation 2020-09-16 20:09:50 +02:00
xtimer_usleep tests/xtimer_usleep: fix test to allow zero (perfect) offset 2020-09-22 11:50:02 +02:00
xtimer_usleep_short
ztimer_msg tests/ztimer_msg: check result of thread_create() 2020-08-11 12:12:14 +02:00
ztimer_overhead tests/ztimer_overhead: update to clock->adjust_set 2020-09-22 11:50:02 +02:00
ztimer_periodic tets/ztimer_periodic: blacklist native 2020-10-09 13:05:22 +02:00
ztimer_underflow
Makefile.tests_common
README.md

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