1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests
2020-10-06 22:23:31 +02:00
..
backtrace tests: rename tests/trace -> tests/backtrace 2020-06-04 14:37:41 +02:00
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 tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00
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 tests/blob: add test application for blob.inc.mk 2019-11-18 17:53:48 +01:00
bloom_bytes picolibc: Use most NEWLIB code with picolibc 2020-08-24 08:26:16 -07:00
board_calliope-mini
board_microbit tests: do not unconditionally set BOARD 2019-08-14 17:11:34 +02:00
build_system_cflags_spaces tests: don't define APPLICATION in application Makefile 2019-11-05 07:59:57 +01:00
build_system_utils makefiles/utils: functions for lowercase and uppercase 2019-08-29 13:59:31 +02:00
buttons tests/buttons: remove unused xtimer dependency 2020-05-25 18:14:41 +02:00
c11_atomics_cpp_compat tests/c11_atomics_cpp_compat: remove msp430 special case 2020-08-05 14:32:58 +02:00
can_trx tests/conn_can: Add can tranceiver 2020-05-11 14:10:42 +02:00
candev tests/candev: adapt to use periph_can 2020-09-30 12:59:03 +02:00
cb_mux applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
cb_mux_bench flake8: fix PEP8 W608 invalid escape sequence 2019-11-22 11:47:49 +01:00
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 tests/cortexm_common_ldscript: fix typos 2019-11-23 22:39:36 +01:00
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: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
cpp_ctors tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
cpp_exclude build system: Add libstdcpp feature and doc 2020-07-15 11:45:22 +02:00
cpp_ext build system: Add libstdcpp feature and doc 2020-07-15 11:45:22 +02:00
cpu_cortexm_address_check cpu/cortexm_common: function to check address validity 2019-05-13 09:35:34 +02:00
cpu_efm32_features tests/cpu_efm32_features: add test script 2019-10-16 22:09:37 +02:00
devfs tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
disp_dev tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ad7746 tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_adcxx1c tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_ads101x tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_adt7310 tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
driver_adxl345 drivers/adxl345: fixes & cleanup 2018-08-03 11:12:25 +02:00
driver_aip31068 tests/driver_aip31068: add test for aip31068 driver 2020-09-29 14:42:19 +02:00
driver_apa102 tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
driver_apds99xx tests: add APDS99XX ALS and proximity 2020-03-11 14:21:47 +01:00
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 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 tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00
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 tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
driver_atwinc15x0 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_bh1750 drivers/bh1750fvi: change prototype of bh1750fvi_init 2019-01-07 21:37:02 +01:00
driver_bh1900nux Add bh1900nux driver 2020-02-12 07:34:22 +01:00
driver_bme680 examples: test: remove remaining occurences of wsn430 2020-07-10 16:49:08 +02:00
driver_bmp180 tests/driver_bmp180: remove useless printf_float module 2019-09-02 18:33:02 +02:00
driver_bmx055 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_bmx280 tests/driver_bmx280: fix broken links 2020-03-24 10:39:49 +01:00
driver_cc110x tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ccs811 tests/ccs811: satisfy Codacy 2018-12-20 12:42:44 +01:00
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 tests: Added test for the dfplayer driver 2020-06-28 21:06:49 +02:00
driver_dht
driver_dose tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ds18 drivers/ds18: add arduino-nano to BOARD_WHITELIST in ds18 driver test 2020-02-07 12:55:43 +03:00
driver_ds75lx tests/driver_ds75lx: add test application 2019-05-22 16:54:19 +02:00
driver_ds1307 examples,tests: Updated Makefile.ci 2020-07-27 20:51:52 +02:00
driver_ds3234 tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
driver_dsp0401 tests/driver_dsp0401: fix typos 2019-11-23 22:39:36 +01:00
driver_dynamixel tests, examples: remove chronos references 2020-08-05 14:32:58 +02:00
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 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 tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_hih6130 tests/driver_hih6130: replace SLEEP define 2019-10-17 19:20:31 +02:00
driver_hmc5883l tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
driver_hts221 tests/driver_hts221: cleanup temperature display logic 2019-09-03 21:36:26 +02:00
driver_ili9341 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ina2xx drivers/ina2xx: Match RIOT's driver design goals 2019-11-22 20:28:57 +01:00
driver_ina3221 tests/driver_ina3221: fix typo 'thist' -> 'this' 2020-10-02 08:17:06 +02:00
driver_io1_xplained tests/driver_io1_xplained: fix typos 2019-11-23 22:39:36 +01:00
driver_isl29020 tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_isl29125 tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
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 tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_lc709203f Merge pull request #12628 from aabadie/pr/make/develhelp_cleanup 2019-11-28 09:26:52 +01:00
driver_lis2dh12 tests: use inline functions for GPIO comparison 2020-08-31 13:11:05 +02:00
driver_lis3dh tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_lis3mdl tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_lpd8808 tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
driver_lpsxxx tests/driver/lpsxxx: update with support for lps22hb 2019-03-20 14:43:37 +01:00
driver_lsm6dsl tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_lsm303dlhc tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_ltc4150 examples: test: remove remaining occurences of wsn430 2020-07-10 16:49:08 +02:00
driver_mag3110 tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_mhz19 tests/mhz19: add test application 2020-06-17 08:41:41 +02:00
driver_mma8x5x tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_mma7660 tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_motor_driver tests/driver_motor_driver: fix NDEBUG compile problem 2020-03-12 17:44:41 +01:00
driver_mpl3115a2 tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_mpu9x50 tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00
driver_mpu9150 tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00
driver_mq3 tests/driver_*: Rely on Makefile.dep for FEATURES_REQUIRED 2018-08-26 09:34:58 +02:00
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 tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
driver_nrfmin tests: add test_utils_interactive_sync when possible 2019-11-27 15:07:42 +01:00
driver_nvram_spi tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00
driver_opt3001 drivers/opt3001: Initial support 2019-10-02 10:06:28 +02:00
driver_pca9633 tests/driver_pca9633: fix conflict with libc function name 2020-07-10 14:46:29 +02:00
driver_pca9685 tests/driver_pca9685: add atmega32u4 boards to Makefile.ci 2020-03-30 12:32:57 +02:00
driver_pcd8544 tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
driver_ph_oem tests: use inline functions for GPIO comparison 2020-08-31 13:11:05 +02:00
driver_pir tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
driver_pn532
driver_pulse_counter examples: test: remove remaining occurences of wsn430 2020-07-10 16:49:08 +02:00
driver_qmc5883l tests: use inline functions for GPIO comparison 2020-08-31 13:11:05 +02:00
driver_rn2xx3 tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
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 many typo fixes 2019-11-23 22:39:07 +01:00
driver_seesaw_soil Add support for Adafruit Seesaw Soil moisture sensor (#14835) 2020-09-23 17:35:33 +02:00
driver_servo
driver_sht1x tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
driver_sht2x tests/driver_sht2x: cleanup how required features are set 2019-11-05 07:59:57 +01:00
driver_sht3x tests: add SHT3X sensor driver test application 2018-11-21 09:07:20 +01:00
driver_shtc1 Driver/shtc1: add saul integration 2019-12-16 15:29:04 +01:00
driver_si70xx
driver_si114x tests/driver_si114x: fix broken links 2020-03-24 10:39:49 +01:00
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 tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00
driver_srf04 tests/srf04: test application for srf04 driver 2018-09-20 15:18:49 +02:00
driver_srf08 tests/driver_srf08: update with new init scheme 2020-02-25 21:24:02 +01:00
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 tests: replace SLEEP define 2019-10-10 10:47:38 +02:00
driver_tmp00x drivers/tmp00x : Add CONFIG_ 2020-05-20 19:09:48 +05:30
driver_tps6274x many typo fixes 2019-11-23 22:39:07 +01:00
driver_tsl2561 tests/driver_tsl2561: update to new API changes 2018-07-25 12:01:39 +02:00
driver_tsl4531x tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00
driver_vcnl40x0 tests: don't define APPLICATION in application Makefile 2019-11-05 07:59:57 +01:00
driver_veml6070
driver_w5100 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
driver_ws281x drivers/ws281x: Use FEATURES_REQUIRED_ANY 2020-04-01 09:12:50 +02:00
driver_xbee tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
eepreg tests/eepreg: remove duplicate FEATURES_REQUIRED 2018-11-16 12:07:00 +01:00
embunit tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
emcute tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
event_threads tests/event_threads: remove arch_arm7 from blacklist 2020-02-11 15:39:34 +01:00
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 tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02: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 applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
frac-config frac: Integer fraction scaling library 2019-12-06 09:36:33 +01:00
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/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
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/pktbuf : Set Kconfig defaults and conditions 2020-06-11 14:47:27 +05:30
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 tests: expect match \r\n or \s 2019-11-27 14:12:12 +01:00
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 tests: add test_utils_interactive_sync when possible 2019-11-27 15:07:42 +01:00
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 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 tests/isr_yield_higher: Make use of US_PER_MS 2019-11-22 23:29:13 +01:00
kconfig tests: Add Kconfig test application 2019-12-04 15:23:52 +01:00
kconfig_features tests/kconfig_features: remove board whitelist 2020-07-17 09:42:57 +02:00
l2util tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
leds tests/leds: initialize led0 by default 2019-02-27 13:09:29 +01:00
libc_newlib Revert "tests/libc_newlib: blacklist esp32 boards temporarily" 2020-04-04 13:37:56 +02:00
log_color tests/log_color: fix string literal error 2019-10-19 16:59:11 +02:00
log_printfnoformat applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
lua_loader tests/lua_loader: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
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: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
lwip_sock_udp tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
malloc tests/malloc: reduce chunk size to 128b 2020-07-23 12:50:32 +02:00
mcuboot tests/mcuboot: handle building 'mcuboot' in docker 2019-06-03 18:09:32 +02:00
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: add automatic test script 2020-10-06 16:34:35 +02:00
msg_avail tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
msg_send_receive tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
msg_try_receive examples,tests: Updated Makefile.ci 2020-07-27 20:51:52 +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 cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
mtd_mapper tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
mutex_order tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
mutex_unlock_and_sleep tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
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 tests/netstats_l2: disable test run for esp32-wroom-32 2020-06-09 13:41:09 +02:00
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 tests/nordic_softdevice: disable CI testing 2020-03-04 14:15:17 +01:00
od tests/od: fix typo 'discrepency' -> 'discrepancy' 2020-10-02 08:17:59 +02:00
periph_adc tests/periph_adc: fix content printf on failure 2019-11-28 09:07:52 +01:00
periph_backup_ram tests/periph_backup_ram: use BACKUP_RAM attribute 2020-03-19 13:38:50 +01:00
periph_cpuid tests: expect match \r\n or \s 2019-11-27 14:12:12 +01:00
periph_dac
periph_dma tests/periph_dma: add automatic testing of DMA over UART 2019-01-21 15:06:16 +01:00
periph_eeprom tests/periph_eeprom: use native as default board 2020-04-29 08:56:34 +02:00
periph_flashpage Merge pull request #11960 from fjmolinas/pr_msp430_flashpage_raw 2019-11-25 12:48:48 +01:00
periph_gpio tests/periph_gpio: enable tamper wake 2020-09-17 18:47:10 +02:00
periph_gpio_arduino tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00
periph_hwrng applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
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 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 cpu/native: RTC: implement rtc_set_alarm() 2020-08-16 23:28:30 +02:00
periph_rtt tests/periph_rtt: fix invalid RTT_FREQUENCY set for non stm32f1 2020-05-30 19:07:50 +02:00
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 tests/periph_spi_dma: Add test for SPI with DMA 2020-06-15 19:28:12 +02:00
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: Use fmt for in-irq printing 2020-09-23 08:59:30 +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 tests/periph_uart: fix for !stdio_uart 2020-04-26 20:31:28 +02:00
periph_uart_mode tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00
periph_uart_nonblocking tests/periph_uart_nonblocking: test print with disabled irq 2020-06-17 10:01:20 +02:00
periph_wdt tests/periph_wdt: use different intervals for cc2538 2020-09-01 16:13:36 +02:00
phydat_dump tests: add phydat dump test 2020-02-29 12:36:55 +01:00
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 applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_cifra tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_cmsis-dsp tests/pkg_cmsis-dsp: cleanup Python test script 2020-01-08 09:43:16 +01:00
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/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 examples: test: remove remaining occurences of wsn430 2020-07-10 16:49:08 +02:00
pkg_fatfs_vfs tests/pkg_fatfs_vfs: adapt for mtd_mci 2020-09-25 15:26:02 +02:00
pkg_flatbuffers tests/pkg_flattbuffers: add sample application 2020-01-13 09:41:23 +01:00
pkg_hacl tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_heatshrink tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_jsmn tests/pkg_jsmn: don't use '%.*s' string formatter 2019-11-23 20:57:19 +01:00
pkg_libb2 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_libbase58 tests: add pkg_libbase58 test 2020-03-29 23:18:34 +02:00
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 Merge pull request #12822 from fjmolinas/pr_fix_eol 2019-11-28 08:01:30 +01:00
pkg_libfixmath_unittests tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_libhydrogen tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_littlefs tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_littlefs2 tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_lora-serialization tests/pkg_lora-serialization: fix C-style comments 2019-11-11 17:31:49 +01:00
pkg_lvgl tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_lvgl_touch tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02: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 tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
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 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 pkg/openwsn: add riot based openwsn scheduler 2020-09-10 09:37:43 +02:00
pkg_qcbor tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
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: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_tensorflow-lite tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pkg_tiny-asn1 examples: test: remove remaining occurences of wsn430 2020-07-10 16:49:08 +02:00
pkg_tinycbor tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
pkg_tinycrypt tests/pkg_tinycrypt: fix typos 2019-11-23 22:39:36 +01:00
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 applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
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 tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
posix_semaphore tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
posix_time tests: add test_utils_interactive_sync when possible 2019-11-27 15:07:42 +01:00
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 tests/progress_bar: add test application 2019-12-02 16:48:16 +01:00
ps_schedstatistics tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
pthread tests/pthread*: blacklist boards with low RAM 2019-10-21 15:33:48 +02:00
pthread_barrier tests: expect match \r\n or \s 2019-11-27 14:12:12 +01:00
pthread_cleanup tests/pthread*: blacklist boards with low RAM 2019-10-21 15:33:48 +02:00
pthread_condition_variable tests: insufficient mem. atmega328p based boards 2019-11-27 15:07:43 +01:00
pthread_cooperation boards/im880b: add insufficient memory to tests 2020-03-13 14:36:51 +01:00
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 tests/pthread_tls: fix typos 2019-11-23 22:39:37 +01:00
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 tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
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 tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00
sched_testing tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
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: handle cases for bootloader_nrfutil blacklist 2020-04-08 09:35:08 +02:00
stdin tests/stdin: refactor test application 2019-12-05 12:27:00 +01:00
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 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 tests/sys_arduino: fix test synchronization issues 2020-01-15 10:05:46 +01:00
sys_arduino_analog tests/sys_arduino_analog: add test application 2019-11-15 17:51:45 +01:00
sys_arduino_lib tests/sys_arduino_lib: demo the use of Arduino library 2019-11-22 13:26:35 +01:00
sys_crypto tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +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: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02: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 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 tests/thread_flood: use sched_num_threads to know the first thread ID 2020-06-08 11:22:04 +02:00
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 tests/thread_priority_inversion: fix typos 2019-11-23 22:39:37 +01:00
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: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
usbus drivers: add usbdev_mock 2020-09-04 15:01:16 +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 tests: provide test for vfs+fmt corner-case 2019-12-18 14:15:40 +01:00
warn_conflict Merge pull request #14459 from miri64/tools/enh/make-env 2020-07-09 12:20:09 +02:00
xtimer_drift tests: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
xtimer_hang many typo fixes 2019-11-23 22:39:07 +01:00
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 tests/xtimer_now32_overflow: fix active timers going out of scope 2020-06-09 21:21:45 +02:00
xtimer_now64_continuity flake8: fix PEP8 W608 invalid escape sequence 2019-11-22 11:47:49 +01:00
xtimer_now_irq tests/xtimer_now_irq: don't fail for 32bit timers 2020-07-15 16:29:07 +02:00
xtimer_overhead tests/xtimer_overhead: initial commit 2020-03-04 11:32:12 +01:00
xtimer_periodic_wakeup tests, examples: remove chronos references 2020-08-05 14:32:58 +02:00
xtimer_remove applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_reset flake8: fix PEP8 overidentation E127 2019-11-21 10:11:56 +01:00
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 applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
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 tests/ztimer_periodic: initial commit 2020-09-29 23:04:39 +02:00
ztimer_underflow tests/ztimer_underflow: initial commit 2020-06-23 11:57:28 +02:00
Makefile.tests_common tests/Makefile.tests_common: interactive_sync only with testrunner 2020-01-19 20:38:39 +01:00
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