1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests
Juan Carrano 8b88666f3d tests,examples/usb: PID, VID warning only when building.
The warning issued when the PID and VID are set to the default values should
not be printed on `make clean` and other targets, only with `make all` and it
should be a proper target.

To do: replace shell echos with proper $(warning ..) calls.
2019-09-02 12:20:32 +02:00
..
bench_msg_pingpong applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
bench_mutex_pingpong applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
bench_runtime_coreapis applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
bench_sched_nop applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
bench_sizeof_coretypes applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
bench_thread_flags_pingpong applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
bench_thread_yield_pingpong applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
bench_timers tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
bitarithm_timings applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
bloom_bytes applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
board_calliope-mini
board_microbit tests: do not unconditionally set BOARD 2019-08-14 17:11:34 +02:00
build_system_utils makefiles/utils: functions for lowercase and uppercase 2019-08-29 13:59:31 +02:00
buttons applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
can_trx tests/can_trx: add ncv7356 build 2019-08-21 11:05:51 +02:00
cb_mux applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
cb_mux_bench applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
cond_order tests/cond_order: use test_utils_interactive_sync 2019-08-15 12:26:28 +02:00
conn_can tests/* : blacklisting for hifive1b 2019-07-19 13:25:18 -07:00
cortexm_common_ldscript
cpp11_condition_variable applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
cpp11_mutex applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
cpp11_thread applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
cpp_ctors tests/cpp_ctors: move tests-cpp_ctors out of unittests 2019-08-22 12:39:47 +02:00
cpu_cortexm_address_check
cpu_efm32_features tests: do not unconditionally set BOARD 2019-08-14 17:11:34 +02:00
devfs applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
driver_ad7746
driver_adcxx1c
driver_ads101x
driver_adt7310
driver_adxl345
driver_apa102
driver_at
driver_at30tse75x
driver_at86rf2xx tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
driver_ata8520e
driver_bh1750 drivers/bh1750fvi: change prototype of bh1750fvi_init 2019-01-07 21:37:02 +01:00
driver_bmp180
driver_bmx055
driver_bmx280
driver_cc110x tests: Added test for the cc110x driver 2019-08-20 16:40:15 +02:00
driver_ccs811
driver_ccs811_full
driver_dht
driver_ds18
driver_ds75lx
driver_ds1307
driver_ds3234 tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
driver_dsp0401
driver_dynamixel tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
driver_enc28j60
driver_encx24j600
driver_feetech tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
driver_fxos8700
driver_grove_ledbar
driver_hd44780
driver_hdc1000
driver_hih6130
driver_hts221
driver_ina220
driver_io1_xplained tests/driver_io1_xplained: remove printf_float dependency 2019-09-01 15:16:32 +02:00
driver_isl29020
driver_isl29125 tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
driver_jc42
driver_kw2xrf
driver_l3g4200d
driver_lc709203f
driver_lis2dh12
driver_lis3dh
driver_lis3mdl
driver_lpd8808
driver_lpsxxx
driver_lsm6dsl
driver_lsm303dlhc
driver_ltc4150 tests/driver_ltc4150: Use new fmt_table API 2019-08-20 14:33:15 +02:00
driver_mag3110
driver_mma8x5x
driver_mma7660
driver_motor_driver
driver_mpl3115a2
driver_mpu9150
driver_mq3
driver_my9221
driver_nrf24l01p_lowlevel
driver_nvram_spi
driver_pcd8544
driver_pir
driver_pn532
driver_pulse_counter
driver_rn2xx3
driver_sdcard_spi tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
driver_sds011
driver_servo
driver_sht1x tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
driver_sht2x
driver_sht3x
driver_si70xx
driver_si114x
driver_soft_spi
driver_srf02
driver_srf04
driver_srf08
driver_sx127x tests/driver_sx127x: Add reset command 2019-07-26 13:53:33 +02:00
driver_tcs37727
driver_tmp00x driver/tmp00x: Change tmp006 to tmp00x and add tmp007 2019-08-23 12:11:16 +02:00
driver_tps6274x
driver_tsl2561
driver_tsl4531x
driver_vcnl40x0
driver_veml6070
driver_xbee
eepreg
emb6
embunit applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
event_wait_timeout applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
events applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
evtimer_msg applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
evtimer_underflow applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
external_module_dirs
fault_handler
float applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
fmt_print applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_gomach
gnrc_ipv6_ext applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_ipv6_fwd_w_sub applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_ipv6_nib applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_ipv6_nib_6ln applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_lwmac
gnrc_mac_timeout
gnrc_ndp applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_netif applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_rpl_srh applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_sixlowpan applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_sixlowpan_frag applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_sock_dns applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_sock_ip applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_sock_udp applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
gnrc_tcp_client tests/* : blacklisting for hifive1b 2019-07-19 13:25:18 -07:00
gnrc_tcp_server tests/* : blacklisting for hifive1b 2019-07-19 13:25:18 -07:00
gnrc_udp net/gnrc/udp: Adding Null pointer check in gnrc_netif_hdr_build 2019-08-26 12:46:26 -07:00
irq applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
isr_yield_higher applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
l2util tests/l2util: adapt to changes for BLE 2019-08-28 16:49:21 +02:00
leds
libc_newlib applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
libfixmath applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
libfixmath_unittests
log_printfnoformat applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
lua_loader applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
lwip applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
lwip_sock_ip applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
lwip_sock_tcp
lwip_sock_udp
malloc
mcuboot
memarray
minimal
mpu_stack_guard
msg_avail applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
msg_send_receive applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
msg_try_receive applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
mutex_order applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
mutex_unlock_and_sleep applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
nanocoap_cli tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
netdev_test applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
netstats_l2 applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
nhdp applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
nimble_l2cap
nimble_l2cap_server tests/nimble_l2cap: adjust buffer sizes for nrf51 2019-08-07 09:53:55 +02:00
nordic_softdevice tests: add Nordic SoftDevice test app 2019-08-05 12:09:00 +02:00
od applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
periph_adc
periph_cpuid
periph_dac
periph_dma
periph_eeprom
periph_flashpage
periph_gpio
periph_gpio_arduino
periph_hwrng applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
periph_i2c
periph_pm
periph_pwm
periph_qdec
periph_rtc
periph_rtt
periph_spi
periph_timer applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
periph_uart tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
periph_uart_mode
pipe applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_c25519 applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_cayenne-lpp applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_cmsis-dsp applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_cn-cbor applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_fatfs tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
pkg_fatfs_vfs applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_hacl applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_heatshrink applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_jsmn applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_libb2 applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_libcoap applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_libcose Merge pull request #11801 from kaspar030/update_pkg_libcose 2019-07-18 09:44:32 +02:00
pkg_libhydrogen applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_littlefs applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_lora-serialization applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_micro-ecc applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_micro-ecc-with-hwrng applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_microcoap tests: exclude stm32l0538-disco board 2019-07-08 21:50:36 +02:00
pkg_minmea applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_monocypher applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_nanocbor applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_oonf_api
pkg_qdsa applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_relic applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_semtech-loramac tests/pkg_semtech-loramac: disable rx thread for arduino-mega2560 2019-08-23 21:08:35 +02:00
pkg_spiffs applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_tiny-asn1 applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_tinycbor applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_tinycrypt applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_tweetnacl
pkg_u8g2 applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_ubasic applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pkg_ucglib
pkg_umorse applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
posix_semaphore applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
posix_time applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
ps_schedstatistics applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pthread applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pthread_barrier applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pthread_cleanup applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pthread_condition_variable applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pthread_cooperation applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
pthread_rwlock tests/pthread_rwlock: run the test in CI 2019-08-21 15:46:47 +02:00
pthread_tls applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
puf_sram
riotboot applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
riotboot_flashwrite tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
riotboot_hdr
rmutex applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
rng
saul
sched_testing applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
shell applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
slip
sntp
socket_zep applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
ssp applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
stdin applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
struct_tm_utility applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
sys_arduino
sys_crypto tests/sys_crypto: add tests from NIST SP 800-38C 2019-08-21 17:52:45 +02:00
sys_irq_handler tests/sys_irq_handler: test for sys/irq_handler 2019-08-13 14:50:48 +02:00
test_tools tests/test_tools: add a test for the testing tools environment 2019-08-23 12:14:52 +02:00
thread_basic applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
thread_cooperation applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
thread_exit applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
thread_flags applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
thread_flags_xtimer applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
thread_float
thread_flood applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
thread_msg applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
thread_msg_block_race applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
thread_msg_block_w_queue applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
thread_msg_block_wo_queue applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
thread_msg_seq
thread_priority_inversion
thread_race applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
trace applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
trickle applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
unittests tests/unittests/bluetil: adapt to byteorder fixes 2019-08-28 16:49:21 +02:00
usbus_cdc_ecm tests,examples/usb: PID, VID warning only when building. 2019-09-02 12:20:32 +02:00
warn_conflict applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_drift
xtimer_hang applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_longterm
xtimer_msg applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_msg_receive_timeout applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_mutex_lock_timeout applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_now64_continuity applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_periodic_wakeup applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_remove applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_reset applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_usleep applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
xtimer_usleep_short applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02:00
Makefile.tests_common
README.md

Running and creating tests

There are a number of tests included in RIOT. They are located in the tests folder. These tests allow basic functionality to be verified as well as provide an example of usage.

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