1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests
Francisco dc801b9dde
Merge pull request #15817 from leandrolanzieri/pr/kconfig/sys_crypto
sys/{crypto, hashes, random}: add modules to Kconfig
2021-01-27 10:20:11 +01:00
..
backtrace tests: rename tests/trace -> tests/backtrace 2020-06-04 14:37:41 +02:00
bench_msg_pingpong tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
bench_mutex_pingpong tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +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 all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
bench_sys_atomic_utils tests/bench_sys_atomic_utils: update Makefile.ci 2020-12-16 18:10:53 +01:00
bench_sys_base64 examples,tests: Updated Makefile.ci 2020-07-27 20:51:52 +02:00
bench_thread_flags_pingpong tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
bench_thread_yield_pingpong tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
bench_timers tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
bench_xtimer tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
bench_xtimer_load tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
bitarithm_timings tests/bitarithm_timings: add limits.h include 2020-11-23 16:56:34 +01:00
blob
bloom_bytes tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
board_calliope-mini
board_microbit
build_system_cflags_spaces
build_system_utils makefiles/utils/strings.mk: add version_greater_or_equal 2021-01-18 14:37:23 +01:00
buttons tests/buttons: remove unused xtimer dependency 2020-05-25 18:14:41 +02:00
c11_atomics_cpp_compat tests/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
can_trx tests/conn_can: Add can tranceiver 2020-05-11 14:10:42 +02:00
candev tests/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
cb_mux
cb_mux_bench tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
cond_order Merge pull request #15377 from basilfx/feature/efm32_slstk3400a 2021-01-08 07:29:03 +01:00
conn_can Kconfig/pktbuf : Fix check for "CONFIG_GNRC_PKTBUF_SIZE" 2020-10-16 16:02:03 +05:30
cortexm_common_ldscript
cpp11_condition_variable tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
cpp11_mutex tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
cpp11_thread tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
cpp_ctors tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
cpp_exclude tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
cpp_ext tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
cpu_cortexm_address_check tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
cpu_efm32_drivers tests/cpu_efm32_drivers: require efm32_coretemp feature 2020-11-18 17:27:17 +01:00
cpu_efm32_features
devfs tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
disp_dev tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_ad7746 tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
driver_adcxx1c tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
driver_ads101x tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
driver_adt7310 tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
driver_adxl345 tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
driver_aip31068 tests/aip31068: Mark internal functions as static 2020-12-17 10:17:16 +01:00
driver_apa102 tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
driver_apds99xx tests/driver_apds99xx*: move to test-with-config 2021-01-25 21:10:08 +01:00
driver_apds99xx_full tests/driver_apds99xx*: move to test-with-config 2021-01-25 21:10:08 +01:00
driver_at tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_at24cxxx tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
driver_at24mac tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
driver_at25xxx tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
driver_at30tse75x tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_at86rf2xx tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_at86rf2xx_aes tests/driver_at86rf2xx_aes: move to test-with-config 2021-01-25 21:10:07 +01:00
driver_at86rf215 tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
driver_ata8520e tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
driver_atwinc15x0 tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
driver_bh1750 tests/driver_*: add Kconfig configuration files 2020-11-25 12:43:05 +01:00
driver_bh1900nux tests/driver_*: add Kconfig configuration files 2020-11-25 12:43:05 +01:00
driver_bme680 tests/driver_bme680: move to test-with-config 2021-01-25 21:10:08 +01:00
driver_bmp180 tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_bmx055 tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_bmx280 tests/driver_bmx280: fix address define in README 2020-12-01 14:54:24 +01:00
driver_bq2429x drivers: add bq2429x power management IC driver 2021-01-22 19:30:12 +01:00
driver_cc110x tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
driver_ccs811 tests/driver_*: add Kconfig configuration files 2020-11-25 12:43:05 +01:00
driver_ccs811_full tests/driver_*: add Kconfig configuration files 2020-11-25 12:43:05 +01:00
driver_cst816s tests/cst816s: Add basic touch screen test 2021-01-14 18:17:52 +01:00
driver_dac_dds tests/driver_dac_dds: use clearer hello recording 2020-12-13 02:05:54 +01:00
driver_dcf77 tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_dfplayer tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_dht tests/driver_{d,e,f}*: add Kconfig configuration files 2020-12-02 10:16:49 +01:00
driver_dose tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
driver_ds18 tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_ds75lx tests/driver_{d,e,f}*: add Kconfig configuration files 2020-12-02 10:16:49 +01:00
driver_ds1307 tests/driver_ds1307: move to test-with-config 2021-01-25 21:10:07 +01:00
driver_ds3231 tests/driver_ds3231: move to test-with-config 2021-01-25 21:10:08 +01:00
driver_ds3234 tests/driver_{d,e,f}*: add Kconfig configuration files 2020-12-02 10:16:49 +01:00
driver_dsp0401 tests/driver_{d,e,f}*: add Kconfig configuration files 2020-12-02 10:16:49 +01:00
driver_dynamixel tests/driver_{d,e,f}*: add Kconfig configuration files 2020-12-02 10:16:49 +01:00
driver_edbg_eui tests/driver_{d,e,f}*: add Kconfig configuration files 2020-12-02 10:16:49 +01:00
driver_enc28j60 tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
driver_encx24j600 tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_feetech tests/driver_{d,e,f}*: add Kconfig configuration files 2020-12-02 10:16:49 +01:00
driver_fxos8700 tests/driver_{d,e,f}*: add Kconfig configuration files 2020-12-02 10:16:49 +01:00
driver_gp2y10xx tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
driver_grove_ledbar tests/driver_grove_ledbar: move to test-with-config 2021-01-25 21:10:08 +01:00
driver_hd44780 tests/driver_hd44780: move to test-with-config 2021-01-25 21:10:08 +01:00
driver_hdc1000 tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
driver_hih6130 tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
driver_hmc5883l tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_hsc drivers/hsc: add driver for honeywell pressure and temperature sensor 2021-01-06 10:22:17 +01:00
driver_hts221 tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
driver_ili9341 tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_ina2xx tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
driver_ina3221 tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
driver_io1_xplained tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_isl29020 tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
driver_isl29125 tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
driver_itg320x tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
driver_jc42 tests/driver_{g,h,i,j}*: add Kconfig configuration files 2020-11-27 09:20:08 +01:00
driver_kw2xrf tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
driver_l3g4200d tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_lc709203f tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_lis2dh12 tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_lis3dh tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_lis3mdl tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_lpd8808 tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_lpsxxx tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_lsm6dsl tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_lsm303dlhc tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_ltc4150 tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_mag3110 tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_mhz19 tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_mma8x5x tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_mma7660 tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_motor_driver tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_mpl3115a2 tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_mpu9x50 tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_mq3 tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_mrf24j40 tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
driver_my9221 tests/driver_my9221: move to test-with-config 2021-01-25 21:10:08 +01:00
driver_netdev_common tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
driver_nrf24l01p_lowlevel tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
driver_nrf24l01p_ng tests/driver_nrf24l01p_ng: Test for nrf24l01p netdev driver 2021-01-24 20:49:39 +01:00
driver_nrfmin
driver_nvram_spi tests: add Kconfig configuration files for multiple driver tests 2021-01-18 10:44:30 +01:00
driver_opt3001 tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
driver_pca9633 tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
driver_pca9685 tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
driver_pcd8544 tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
driver_ph_oem tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
driver_pir tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
driver_pn532 tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
driver_pulse_counter tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
driver_qmc5883l tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
driver_rn2xx3 tests: add Kconfig configuration files for multiple driver tests 2021-01-14 10:00:44 +01:00
driver_scd30 tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_sdcard_spi tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_sdp3x tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_sds011 tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_seesaw_soil tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_servo tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_sht1x tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_sht2x tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_sht3x tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_shtc1 tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_si70xx tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_si114x tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_si1133 tests/driver_si1133: move to test-with-config 2021-01-25 21:10:08 +01:00
driver_soft_spi tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_soft_uart tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_sps30 tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_srf02 tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_srf04 tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_srf08 tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_stmpe811 tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_sx127x tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
driver_tcs37727 tests/driver: add Kconfig configuration files 2021-01-21 10:02:34 +01:00
driver_tmp00x tests/driver: add Kconfig configuration files 2021-01-21 10:02:34 +01:00
driver_tps6274x tests/driver: add Kconfig configuration files 2021-01-21 10:02:34 +01:00
driver_tsl2561 tests/driver: add Kconfig configuration files 2021-01-21 10:02:34 +01:00
driver_tsl4531x tests/driver: add Kconfig configuration files 2021-01-21 10:02:34 +01:00
driver_vcnl40x0 tests/driver: add Kconfig configuration files 2021-01-21 10:02:34 +01:00
driver_veml6070 tests/driver: add Kconfig configuration files 2021-01-21 10:02:34 +01:00
driver_w5100 tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
driver_ws281x tests/driver: add Kconfig configuration files 2021-01-21 10:02:34 +01:00
driver_xbee tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
eepreg
embunit tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
emcute tests/emcute: move to tests-as-root 2021-01-25 21:10:07 +01:00
entropy_source sys/entropy_source: add new module for entropy sources 2020-12-01 15:51:40 +01:00
event_thread_shared tests: Add event_thread tests for shared thread 2020-12-03 15:28:35 +01:00
event_threads tests/event_threads: drop use of deprecated module 2020-12-03 15:28:35 +01:00
event_wait_timeout tests/event_wait_timeout: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
events tests/*: add explicit include of timex.h 2020-10-21 21:47:31 +02:00
evtimer_mbox tests/evtimer_mbox: add missing main() return 2020-11-20 10:41:59 +01:00
evtimer_msg tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
evtimer_underflow tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
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/float: don't increase iterations for native 2020-07-29 13:25:55 +02:00
fmt_print
frac-config
gnrc_dhcpv6_client tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
gnrc_dhcpv6_client_6lbr tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
gnrc_gomach Kconfig/pktbuf : Fix check for "CONFIG_GNRC_PKTBUF_SIZE" 2020-10-16 16:02:03 +05:30
gnrc_ipv6_ext tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
gnrc_ipv6_ext_frag tests/gnrc_ipv6_ext_frag: fetch Interface IDs dynamically 2021-01-26 15:25:22 +01:00
gnrc_ipv6_ext_opt tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
gnrc_ipv6_fwd_w_sub tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
gnrc_ipv6_nib tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
gnrc_ipv6_nib_6ln tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
gnrc_ipv6_nib_dns tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
gnrc_lwmac Kconfig/pktbuf : Fix check for "CONFIG_GNRC_PKTBUF_SIZE" 2020-10-16 16:02:03 +05:30
gnrc_mac_timeout tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
gnrc_ndp tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
gnrc_netif tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
gnrc_netif_ieee802154
gnrc_rpl_p2p tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
gnrc_rpl_srh tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
gnrc_sixlowpan tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
gnrc_sixlowpan_frag gnrc_sixlowpan_frag_rb: externalize get_by_tag function 2020-12-14 09:30:04 +01:00
gnrc_sixlowpan_frag_minfwd tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
gnrc_sixlowpan_frag_sfr tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
gnrc_sixlowpan_iphc_w_vrb tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
gnrc_sock_async_event tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
gnrc_sock_dns tests/gnrc_sock_dns: move to test-with-config 2021-01-25 21:10:08 +01:00
gnrc_sock_ip tests/gnrc_sock_{udp,ip}: test sock_aux_rssi 2021-01-13 13:29:13 +01:00
gnrc_sock_neterr tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
gnrc_sock_udp tests/gnrc_sock_{udp,ip}: test sock_aux_rssi 2021-01-13 13:29:13 +01:00
gnrc_tcp tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
gnrc_udp tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
heap_cmd tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
ieee802154_hal tests/ieee802154_hal: add CRC_ERROR handling 2021-01-13 23:42:44 +01:00
ieee802154_security tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
ieee802154_submac tests/ieee802154_submac: use byteorder_ltohs() 2020-12-09 14:22:07 +01:00
irq tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
irq_disable_restore tests: Add test for irq_disable() / irq_restore() 2020-05-04 12:52:39 +02:00
isr_yield_higher tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
kconfig
kconfig_features tests/kconfig_features: remove board whitelist 2020-07-17 09:42:57 +02:00
l2util l2util: add l2util_addr_to_str()/l2util_addr_from_str() 2020-11-14 17:29:26 +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: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
lwip_sock_ip tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
lwip_sock_tcp tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
lwip_sock_udp tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
malloc tests/malloc: fail if allocation count does not match 2020-11-19 21:59:14 +01:00
malloc_thread_safety tests/malloc_thread_safety: new test 2020-12-17 15:39:05 +01:00
mcuboot
memarray tests/memarray: add extend/reduce tests 2021-01-18 11:01:37 +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: add automatic test script 2020-10-06 16:34:35 +02:00
msg_avail
msg_send_receive tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
msg_try_receive tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02: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 tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
mtd_mapper tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
mtd_raw tests/mtd_raw: add simple test for MTD 2021-01-11 14:35:40 +01:00
mutex_cancel tests: Add test for core_mutex/mutex_cancel 2020-12-08 14:50:49 +01:00
mutex_order tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
mutex_unlock_and_sleep tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
nanocoap_cli tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
netdev_test tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
netstats_l2 tests/netstats_l2: disable test run for esp32-wroom-32 2020-06-09 13:41:09 +02:00
nimble_autoconn_ccnl examples, tests: add e104-bt5011a-tb to Makefile.ci 2020-12-01 18:28:41 +01:00
nimble_autoconn_gnrc examples, tests: add e104-bt5011a-tb to Makefile.ci 2020-12-01 18:28:41 +01:00
nimble_l2cap examples, tests: add e104-bt5011a-tb to Makefile.ci 2020-12-01 18:28:41 +01:00
nimble_l2cap_server examples, tests: add e104-bt5011a-tb to Makefile.ci 2020-12-01 18:28:41 +01:00
nimble_statconn_gnrc examples, tests: add e104-bt5011a-tb to Makefile.ci 2020-12-01 18:28:41 +01:00
od sys/od: allow to specify address offset with od_hex_dump_ext() 2021-01-11 14:35:40 +01:00
pbkdf2 tests/pbkdf2: clean python test script 2021-01-07 20:33:00 +01:00
periph_adc tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
periph_backup_ram tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
periph_cpuid tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_dac tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
periph_dma tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_eeprom tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_flashpage Merge pull request #15707 from ML-PA-Consulting-GmbH/fix/20210105__sam0_common-periph-flashpage__fix_unaligned_write 2021-01-22 20:24:53 +01:00
periph_gpio tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_gpio_arduino tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
periph_hwrng tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_i2c tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
periph_pm tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
periph_ptp_clock tests: Added test for PTP clock 2020-12-02 17:53:01 +01:00
periph_ptp_timer tests: Added test for PTP timer 2020-12-02 17:53:01 +01:00
periph_pwm tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
periph_qdec tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
periph_rtc tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_rtt tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_rtt_min tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_spi tests/periph_spi: enable test for SPI on QSPI 2020-12-12 18:36:16 +01:00
periph_spi_dma tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
periph_timer tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_timer_periodic tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_timer_short_relative_set tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_uart tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
periph_uart_mode tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
periph_uart_nonblocking tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
periph_wdt tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
phydat_dump tests/phydat_dump: use raw strings in expect regexp 2020-11-03 15:50:15 +01:00
pipe tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_c25519 tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
pkg_cayenne-lpp
pkg_cifra tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
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: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01: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 samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_emlearn tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_fatfs tests/pkg_fatfs: adapt to API change in f_mkfs() 2020-11-17 11:29:28 +01:00
pkg_fatfs_vfs tests/pkg_fatfs_vfs: declare test as test-with-config 2021-01-25 21:10:06 +01:00
pkg_flatbuffers tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_hacl tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_heatshrink tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_jsmn
pkg_libb2 tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_libbase58 tests: add pkg_libbase58 test 2020-03-29 23:18:34 +02:00
pkg_libcoap tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_libcose tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_libfixmath
pkg_libfixmath_unittests tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_libhydrogen tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
pkg_littlefs tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_littlefs2 tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_lora-serialization
pkg_lvgl tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_lvgl_touch tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_micro-ecc tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
pkg_micro-ecc-with-hwrng
pkg_microcoap tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_minmea tests: remove obsolete msp430 blacklists 2020-08-05 14:32:58 +02:00
pkg_monocypher tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +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/Makefile: nitpick formatting fix 2020-12-11 09:07:54 +01:00
pkg_openwsn_sock_udp tests/pkg_openwsn_sock_udp: initial import 2020-12-11 09:07:53 +01:00
pkg_qcbor tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_qdsa tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_relic tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_semtech-loramac examples: tests: move lorawan examples to tests-with-config 2021-01-25 21:10:06 +01:00
pkg_spiffs tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_tensorflow-lite tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_tiny-asn1 tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
pkg_tinycbor tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_tinycrypt tests/pkg_tinycrypt: Drop whitelist 2020-10-19 09:29:37 +02:00
pkg_tinydtls_sock_async tests/pkg_tinydtls_sock_async: use sock_dtls_get_event_session() 2021-01-21 19:43:15 +01:00
pkg_tweetnacl tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_u8g2 tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_ubasic tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_ucglib tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pkg_umorse tests/pkg_umorse: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
pkg_utensor tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_wolfcrypt-ed25519-verify tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
pkg_wolfssl tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pkg_yxml tests/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
posix_semaphore tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
posix_sleep tests/posix_sleep: dont use periph_rtt for efm32 and kinetis 2021-01-19 13:37:06 +01:00
prng_sha1prng tests: add crypto and prng kconfig configurations 2021-01-26 17:50:20 +01:00
prng_sha256prng tests: add crypto and prng kconfig configurations 2021-01-26 17:50:20 +01:00
progress_bar tests/progress_bar: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
ps_schedstatistics tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pthread tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
pthread_barrier tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
pthread_cleanup tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
pthread_condition_variable tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
pthread_cooperation tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
pthread_flood tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
pthread_rwlock tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
pthread_tls tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
puf_sram tests/puf_sram: use puf_sram as a feature 2020-09-04 13:50:02 +02:00
riotboot tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
riotboot_flashwrite tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
riotboot_hdr tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
rmutex tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
rmutex_cpp tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
rng tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
saul
sched_testing tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
shell tests/shell: fix flake8 errors in Python script 2020-11-03 15:38:27 +01:00
slip tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
sntp tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
sock_udp_aux tests/sock_udp_aux: new test application 2021-01-25 15:50:24 +01: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 tests/stm32_bootloader: add test for STM32 bootloader mode 2020-06-05 18:41:06 +02:00
struct_tm_utility tests: remove obsolete msp430 blacklists 2020-08-05 14:32:58 +02:00
suit_manifest tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
sys_architecture tests/sys_architecture: also test UWORD_MAX, ... 2020-12-15 10:13:52 +01:00
sys_arduino tests/sys_arduino: add test case to print float values 2020-10-27 18:23:57 +01:00
sys_arduino_analog
sys_arduino_lib tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
sys_atomic_utils tests/sys_atomic_utils: update to new API 2020-12-16 18:10:53 +01:00
sys_atomic_utils_unittests tests/sys_atomic_utils_unittests: check return values 2020-12-16 18:10:51 +01:00
sys_crypto tests: add crypto and prng kconfig configurations 2021-01-26 17:50:20 +01:00
sys_ptrtag tests: Add test for sys/ptrtag 2020-11-17 11:24:59 +01:00
sys_sema_inv tests/sys_sema_inv: add test for inverse semaphore 2021-01-17 00:17:58 +01:00
sys_stdio_semihosting stdio_semihosting: Add shell-based test application 2020-06-09 10:15:49 +02:00
test_tools tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
thread_basic tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
thread_cooperation tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
thread_exit tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
thread_flags tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
thread_flags_xtimer tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
thread_float tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
thread_flood all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
thread_msg tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
thread_msg_block_race tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
thread_msg_block_w_queue tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
thread_msg_block_wo_queue tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
thread_msg_bus tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
thread_msg_seq tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
thread_priority_inversion tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
thread_race tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
thread_zombie tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
touch_dev tests/touch_dev: convert to xtimer_msleep() 2020-11-05 11:34:50 +01:00
trace tests/trace: declare expect regexp as raw strings 2020-11-03 14:46:11 +01:00
trickle tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
unittests Merge pull request #14662 from benpicco/cpu/samd20 2021-01-26 19:14:36 +01:00
usbus tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01: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 tests/usbus_cdc_ecm: remove Kconfig file 2020-11-04 09:33:16 +01:00
usbus_hid tests/usbus_hid: cleanup USB variable access in Makefile 2021-01-12 17:24:00 +01:00
vfs_plus_stdio tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
warn_conflict Merge pull request #14459 from miri64/tools/enh/make-env 2020-07-09 12:20:09 +02:00
xtimer_drift tests/{x,z}timer: add Kconfig configuration files 2021-01-19 09:31:05 +01:00
xtimer_hang tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_longterm tests/{x,z}timer: add Kconfig configuration files 2021-01-19 09:31:05 +01:00
xtimer_msg tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_msg_receive_timeout tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_mutex_lock_timeout tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_now32_overflow tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_now64_continuity tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_now_irq tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_overhead tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_periodic_wakeup tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_remove tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_reset tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_rmutex_lock_timeout tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_usleep tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
xtimer_usleep_short tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
ztimer_msg tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
ztimer_mutex_lock_timeout tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
ztimer_overhead tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
ztimer_periodic tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
ztimer_underflow tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
Makefile.tests_common tests: fix auto use of interactive sync module 2021-01-25 21:10:08 +01:00
README.md tests: add 'test-as-root' and 'test-with-config' targets 2021-01-25 21:10:06 +01:00
test_interactive.config tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +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

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.