1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests
Francisco 3cb3b5ab85
Merge pull request #16133 from miri64/congure_mock/enh/real-methods
congure_mock: add capability to provide actual methods
2021-05-04 11:06:35 +02:00
..
backtrace
bench_msg_pingpong Merge pull request #16239 from nandojve/xplained-mini 2021-03-31 13:37:56 +02:00
bench_mutex_pingpong boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
bench_runtime_coreapis
bench_sched_nop
bench_sizeof_coretypes boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
bench_sys_atomic_utils
bench_sys_base64 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
bench_thread_flags_pingpong boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
bench_thread_yield_pingpong boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
bench_timers boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
bench_xtimer boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
bench_xtimer_load boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
bitarithm_timings
blob
bloom_bytes boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
board_calliope-mini
board_microbit tests/board_microbit: add microbit-v2 in whitelist 2021-02-10 13:39:52 +01:00
build_system_cflags_spaces
build_system_utils
buttons
c11_atomics_cpp_compat
can_trx boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
candev boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
cb_mux tests/cb_mux: Add Kconfig defaults 2021-02-22 14:58:09 +01:00
cb_mux_bench tests/cb_mux_bench: Add Kconfig defaults 2021-02-22 14:58:09 +01:00
cond_order boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
congure_test Merge pull request #16133 from miri64/congure_mock/enh/real-methods 2021-05-04 11:06:35 +02:00
conn_can boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
cortexm_common_ldscript
cpp11_condition_variable tests/cpp11_condition_variable: reduce thread number 2021-02-09 10:16:01 +01:00
cpp11_mutex
cpp11_thread
cpp_ctors
cpp_exclude
cpp_ext
cpu_cortexm_address_check tests/cortexm_address_check: Add missing include inttypes.h 2021-03-24 12:07:15 +01:00
cpu_efm32_drivers
cpu_efm32_features tests/cpu_efm32_features: Add missing include stdio.h 2021-03-24 12:07:20 +01:00
dbgpin tests/dbgpin: user port 1 for frdm-k64f 2021-04-26 10:40:24 +02:00
devfs
disp_dev boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_ad7746
driver_adcxx1c
driver_ads101x
driver_adt7310 Makefile.ci: add zigduino 2021-02-09 15:26:03 +01:00
driver_adxl345
driver_aip31068 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_apa102
driver_apds99xx
driver_apds99xx_full
driver_at boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
driver_at24cxxx boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_at24mac
driver_at25xxx
driver_at30tse75x boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_at86rf2xx boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_at86rf2xx_aes boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_at86rf215 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_ata8520e boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_atwinc15x0 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_bh1750
driver_bh1900nux
driver_bme680
driver_bmp180
driver_bmx055 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_bmx280 tests/driver_bmx280: add xtimer dependency 2021-04-27 14:24:28 +02:00
driver_bq2429x boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_cc110x boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_ccs811 tests/driver_ccs811%: fix read return code check 2021-03-21 20:45:57 +01:00
driver_ccs811_full tests/driver_ccs811%: fix read return code check 2021-03-21 20:45:57 +01:00
driver_cst816s
driver_dac_dds tests/dac_dds: Fix sine wave to fit in PCM range 2021-03-24 00:35:19 +01:00
driver_dcf77
driver_dfplayer boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_dht
driver_dose boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_ds18
driver_ds75lx
driver_ds1307 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_ds3231 Merge pull request #16180 from nicoHarel/drivers/ds3231 2021-04-13 13:57:16 +02:00
driver_ds3234
driver_dsp0401
driver_dynamixel boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_edbg_eui
driver_enc28j60 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_encx24j600 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_feetech boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_fxos8700
driver_gp2y10xx
driver_grove_ledbar
driver_hd44780
driver_hdc1000
driver_hih6130 tests/driver_hih6130: fix 'absolute-value' error 2021-02-09 15:57:48 +01:00
driver_hmc5883l
driver_hsc
driver_hts221
driver_ili9341
driver_ina2xx
driver_ina3221
driver_io1_xplained
driver_isl29020
driver_isl29125
driver_itg320x
driver_jc42
driver_kw2xrf boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_l3g4200d
driver_lc709203f
driver_lis2dh12 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_lis3dh
driver_lis3mdl
driver_lpd8808
driver_lpsxxx
driver_lsm6dsl
driver_lsm303dlhc
driver_ltc4150 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_mag3110
driver_mhz19
driver_mma8x5x
driver_mma7660
driver_motor_driver
driver_mpl3115a2
driver_mpu9x50 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_mq3
driver_mrf24j40 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_my9221
driver_netdev_common boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_nrf24l01p_lowlevel boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_nrf24l01p_ng boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_nrfmin
driver_nvram_spi boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_opt3001
driver_pca9633 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_pca9685 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_pcd8544 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_ph_oem
driver_pir boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_pn532
driver_pulse_counter
driver_qmc5883l
driver_rn2xx3 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_scd30
driver_sdcard_spi boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_sdp3x
driver_sds011
driver_seesaw_soil
driver_servo
driver_sgp30 tests/driver_sgp30: initial import 2021-04-08 10:14:30 +02:00
driver_sht1x boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_sht2x
driver_sht3x
driver_shtc1
driver_si70xx drivers/si70xx: Add support for Si705x sensors 2021-04-17 20:14:35 +00:00
driver_si114x
driver_si1133 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_sm_pwm_01c tests/driver_sm_pwm_01c: initial import 2021-04-07 12:05:09 +02:00
driver_soft_spi
driver_soft_uart boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_sps30 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_srf02 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_srf04
driver_srf08
driver_stmpe811
driver_sx126x tests: add atmega328p-xplained-mini to insufficient memory list 2021-04-01 10:33:48 +02:00
driver_sx127x boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_tcs37727
driver_tmp00x
driver_tps6274x
driver_tsl2561
driver_tsl4531x boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_vcnl40x0
driver_veml6070
driver_w5100 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
driver_ws281x
driver_xbee boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
eepreg tests/eepreg: Add Kconfig defaults 2021-02-22 14:58:09 +01:00
embunit
emcute boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
entropy_source
event_thread_shared
event_threads boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
event_wait_timeout boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
event_wait_timeout_ztimer tests: add atmega328p-xplained-mini to insufficient memory list 2021-04-01 10:33:48 +02:00
events boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
evtimer_mbox
evtimer_msg boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
evtimer_underflow boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
external_board_dirs
external_board_native
external_module_dirs
fault_handler tests/fault_handler: Fix pedantic warnings about signed/unsigned 2021-03-24 12:07:26 +01:00
float
fmt_print tests/fmt_print: improve test coverage 2021-02-10 13:40:40 +01:00
frac-config
gnrc_dhcpv6_client boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_dhcpv6_client_6lbr boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_gomach
gnrc_ipv6_ext boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_ipv6_ext_frag boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_ipv6_ext_opt boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_ipv6_fwd_w_sub boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_ipv6_nib boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_ipv6_nib_6ln boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_ipv6_nib_dns boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_lwmac
gnrc_mac_timeout boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_ndp boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_netif boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_netif_ieee802154
gnrc_rpl_p2p boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_rpl_srh boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_sixlowpan boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_sixlowpan_frag boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_sixlowpan_frag_minfwd boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_sixlowpan_frag_sfr boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_sixlowpan_iphc_w_vrb boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_sock_async_event boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_sock_dns boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_sock_ip boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_sock_neterr boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_sock_udp boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_tcp boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
gnrc_tx_sync boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
gnrc_udp boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
heap_cmd boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
ieee802154_hal treewide: remove unneeded ieee802154_radio_hal pseudomodule 2021-03-10 14:18:13 +01:00
ieee802154_security boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
ieee802154_submac tests/ieee802154_submac: check netdev_driver_t::recv return value 2021-01-27 22:52:21 +01:00
irq boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
irq_disable_restore
isr_yield_higher boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
kconfig tests/kcnfig: add external modules test 2021-02-23 19:16:34 +01:00
kconfig_features
l2util boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
leds
libc_newlib
log_color
log_printfnoformat
lua_loader
lwip tests/lwip: Add a test for partial TCP reads. 2021-04-10 17:14:11 +00:00
lwip_sock_ip tests: add bluepill-stm32f030c8 to Makefile.ci 2021-02-02 23:47:40 +01:00
lwip_sock_tcp tests: add bluepill-stm32f030c8 to Makefile.ci 2021-02-02 23:47:40 +01:00
lwip_sock_udp tests: add bluepill-stm32f030c8 to Makefile.ci 2021-02-02 23:47:40 +01:00
malloc tests/malloc: refactor test 2021-05-03 17:17:49 +02:00
malloc_thread_safety core/sched: keep scheduler clist internal to sched 2021-04-14 09:53:04 +02:00
mcuboot
memarray boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
minimal
mpu_noexec_ram
mpu_stack_guard
msg_avail
msg_send_receive boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
msg_try_receive boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
mtd_at24cxxx
mtd_at25xxx
mtd_flashpage tests/mtd_flashpage: remove native from blacklist 2021-02-18 14:22:11 +01:00
mtd_mapper boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
mtd_raw boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
mutex_cancel
mutex_order boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
mutex_unlock_and_sleep
nanocoap_cli boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
netdev_test boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
netstats_l2
netstats_neighbor boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
nimble_autoconn_ccnl
nimble_autoconn_gnrc
nimble_l2cap tests/nimble_l2cap: fix missing xtimer.h include 2021-04-15 08:21:56 +02:00
nimble_l2cap_server
nimble_statconn_gnrc
od
pbkdf2 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
periph_adc
periph_backup_ram
periph_cpuid
periph_dac
periph_dma
periph_eeprom boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
periph_flashpage tests/periph_flashpage: respect FLASHPAGE_WRITE_BLOCK_SIZE 2021-04-29 17:57:05 +02:00
periph_flashpage_unittest tests/periph_flashpage_unittest: lower FLASHPAGE_SIZE for int overflow 2021-04-20 14:59:50 +02:00
periph_gpio Merge pull request #16187 from benpicco/cpu/sam0_common/get_tamper 2021-04-13 14:11:46 +02:00
periph_gpio_arduino boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
periph_hwrng
periph_i2c boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
periph_pm
periph_ptp_clock tests/periph_ptp_clock: fix bug in debug print 2021-03-12 20:43:01 +01:00
periph_ptp_timer
periph_pwm boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
periph_qdec
periph_rtc
periph_rtt tests/periph_rtt: be more verbose on error 2021-03-30 14:48:03 +02:00
periph_rtt_min tests/periph_rtt_min: adapt for slower RTTs 2021-04-16 11:11:37 +02:00
periph_spi boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
periph_spi_dma tests/periph_spi_dma: blacklist samd10-xmini 2021-03-09 11:50:46 +01:00
periph_timer boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
periph_timer_periodic tests/periph_timer_periodic: add error tolerance in timings 2021-02-23 15:19:09 +01:00
periph_timer_short_relative_set
periph_uart boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
periph_uart_mode boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
periph_uart_nonblocking
periph_wdt boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
phydat_dump
pipe boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pkg_c25519 tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_cayenne-lpp tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_cifra tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_cmsis-dsp
pkg_cmsis-nn
pkg_cn-cbor tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_cryptoauthlib_compare_sha256
pkg_cryptoauthlib_internal-tests boards/atxmega-a3bu-xplained: Add i2c configuration 2021-04-25 22:06:29 -03:00
pkg_emlearn tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_fatfs boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pkg_fatfs_vfs boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pkg_flatbuffers
pkg_hacl tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_heatshrink tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_jsmn tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_libb2 tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_libbase58
pkg_libcoap tests: add bluepill-stm32f030c8 to Makefile.ci 2021-02-02 23:47:40 +01:00
pkg_libcose tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_libfixmath tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_libfixmath_unittests tests: add bluepill-stm32f030c8 to Makefile.ci 2021-02-02 23:47:40 +01:00
pkg_libhydrogen tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_littlefs boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pkg_littlefs2 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pkg_lora-serialization tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_lvgl pkg/lvgl: model dependency resolution in Kconfig 2021-04-28 11:19:24 +02:00
pkg_lvgl_touch pkg/lvgl: model dependency resolution in Kconfig 2021-04-28 11:19:24 +02:00
pkg_micro-ecc tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_micro-ecc-with-hwrng
pkg_microcoap boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pkg_minmea tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_monocypher tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_nanocbor tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_nanopb tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_openwsn
pkg_openwsn_sock_udp tests/pkg_openwsn_sock_udp: add test for sock_udp_close 2021-02-09 17:04:24 +01:00
pkg_qcbor tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_qdsa tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_relic tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_semtech-loramac boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pkg_spiffs boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pkg_tensorflow-lite tests/pkg_tensorflow-lite: insufficient memory nucleo-g071rb 2021-05-03 08:19:39 +02:00
pkg_tiny-asn1 tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_tinycbor tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_tinycrypt tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_tinydtls_sock_async tests/pkg_tinydtls_sock_async: add missing ID to server PSK 2021-04-01 09:47:39 +02:00
pkg_tweetnacl tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
pkg_u8g2 boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pkg_ubasic
pkg_ucglib boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pkg_umorse sys/ztimer/kconfig: add defaults for backends 2021-03-04 10:48:27 +01:00
pkg_utensor boards: add cc1350-launchpad 2021-02-09 23:04:24 +01:00
pkg_wolfcrypt-ed25519-verify tests/pkg_wolfcrypt-ed25519-verify: increase timeout for nrf51dk 2021-01-28 13:40:54 +01:00
pkg_wolfssl tests: add bluepill-stm32f030c8 to Makefile.ci 2021-02-02 23:47:40 +01:00
pkg_yxml tests/pkg*: Add app.config.test to pkg tests 2021-04-08 16:44:10 +02:00
posix_semaphore boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
posix_sleep sys/ztimer/kconfig: add defaults for backends 2021-03-04 10:48:27 +01:00
prng_sha1prng
prng_sha256prng
progress_bar sys/progress_bar: add Konfig configuration 2021-04-07 12:05:00 +02:00
ps_schedstatistics boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pthread
pthread_barrier
pthread_cleanup
pthread_condition_variable boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pthread_cooperation tests/pthread_cooperation: nucleo-f334r8: reduce stack size 2021-05-03 10:17:11 +02:00
pthread_flood boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pthread_rwlock boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
pthread_tls boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
puf_sram
riotboot
riotboot_flashwrite boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
riotboot_hdr
rmutex boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
rmutex_cpp boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
rng boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
saul boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
sched_testing boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
sema tests/sema: add test for sema_wait_timed_ztimer() 2021-04-12 13:08:39 +02:00
shell boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
slip boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
sntp boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
sock_udp_aux boards: Introduce atxmega-a3bu-xplained board 2021-04-07 20:06:11 -03:00
socket_zep
ssp tests/ssp: silence array-bounds warning if present 2021-02-10 09:17:34 +01:00
stdin
stm32_bootloader
struct_tm_utility boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
suit_manifest tests: add bluepill-stm32f030c8 to Makefile.ci 2021-02-02 23:47:40 +01:00
sys_architecture
sys_arduino
sys_arduino_analog
sys_arduino_lib
sys_atomic_utils boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
sys_atomic_utils_unittests
sys_crypto boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
sys_ptrtag
sys_sema_inv boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
sys_stdio_semihosting
test_tools tests/test_tools: add app.config.test to test shell config 2021-02-19 13:22:47 +01:00
thread_basic
thread_cooperation boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_exit boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_flags boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_flags_xtimer
thread_float boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_flood
thread_msg boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_msg_block_race boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_msg_block_w_queue boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_msg_block_wo_queue boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_msg_bus boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_msg_seq boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_priority_inversion boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_race boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
thread_zombie boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
touch_dev
trace boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
trickle
turo tests/turo: Add automated turo test for json 2021-03-15 10:36:46 +01:00
unittests tests/unittests: tests-ztimer: add ztimer_is_set() regression test 2021-04-22 11:12:48 +02:00
usbus boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
usbus_cdc_acm_stdio
usbus_cdc_ecm
usbus_hid
vfs_plus_stdio
warn_conflict
xfa tests/xfa: fix parallel build with BUILD_IN_DOCKER 2021-02-23 10:39:39 +01:00
xtimer_drift boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
xtimer_hang boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
xtimer_longterm boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
xtimer_msg boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
xtimer_msg_receive_timeout
xtimer_mutex_lock_timeout boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
xtimer_now32_overflow
xtimer_now64_continuity
xtimer_now_irq
xtimer_overhead
xtimer_periodic_wakeup boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
xtimer_remove
xtimer_reset
xtimer_rmutex_lock_timeout boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
xtimer_usleep
xtimer_usleep_short
ztimer_msg Merge pull request #16172 from kfessel/p-zimer-sec 2021-04-02 08:32:38 +02:00
ztimer_mutex_lock_timeout sys/ztimer/kconfig: add defaults for backends 2021-03-04 10:48:27 +01:00
ztimer_overhead sys/ztimer/kconfig: add defaults for backends 2021-03-04 10:48:27 +01:00
ztimer_periodic sys/ztimer/kconfig: add defaults for backends 2021-03-04 10:48:27 +01:00
ztimer_rmutex_lock_timeout boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
ztimer_underflow Merge pull request #16172 from kfessel/p-zimer-sec 2021-04-02 08:32:38 +02:00
ztimer_xsec tests/ztimer_xsec: add a simple high level ztimer test 2021-04-01 18:19:15 +02:00
Makefile.tests_common
README.md
test_interactive.config

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.