tests: classify periphera tests
Fix testcase naming and follow <component>.<subcomponent> where it makes sense. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
8e8d6de6f7
commit
49bb83138c
18 changed files with 29 additions and 43 deletions
|
@ -1,30 +1,25 @@
|
|||
common:
|
||||
tags: drivers adc
|
||||
tags: peripheral adc
|
||||
tests:
|
||||
test:
|
||||
peripheral.adc:
|
||||
depends_on: adc
|
||||
test_poll_mode:
|
||||
peripheral.adc.poll_mode:
|
||||
extra_configs:
|
||||
- CONFIG_ADC_QMSI_POLL=y
|
||||
platform_whitelist: quark_se_c1000_ss_devboard
|
||||
tags: hwtest
|
||||
test_resolution_10:
|
||||
peripheral.adc.resolution_10:
|
||||
extra_configs:
|
||||
- CONFIG_ADC_QMSI_SAMPLE_WIDTH=10
|
||||
platform_whitelist: quark_se_c1000_ss_devboard
|
||||
tags: hwtest
|
||||
test_resolution_12:
|
||||
peripheral.adc.resolution_12:
|
||||
extra_configs:
|
||||
- CONFIG_ADC_QMSI_SAMPLE_WIDTH=12
|
||||
platform_whitelist: quark_se_c1000_ss_devboard
|
||||
tags: hwtest
|
||||
test_resolution_6:
|
||||
peripheral.adc.resolution_6:
|
||||
extra_configs:
|
||||
- CONFIG_ADC_QMSI_SAMPLE_WIDTH=6
|
||||
platform_whitelist: quark_se_c1000_ss_devboard
|
||||
tags: hwtest
|
||||
test_resolution_8:
|
||||
peripheral.adc.resolution_8:
|
||||
extra_configs:
|
||||
- CONFIG_ADC_QMSI_SAMPLE_WIDTH=8
|
||||
platform_whitelist: quark_se_c1000_ss_devboard
|
||||
tags: hwtest
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
tests:
|
||||
test:
|
||||
peripheral.adc:
|
||||
depends_on: adc
|
||||
tags: driver adc
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
tests:
|
||||
test_aio:
|
||||
build_only: true
|
||||
peripheral.aio:
|
||||
depends_on: aio
|
||||
tags: drivers
|
||||
harness: aio
|
||||
tags: aio
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
tests:
|
||||
test:
|
||||
tags: drivers aio
|
||||
peripheral.aio:
|
||||
tags: aio
|
||||
harness: aio
|
||||
depends_on: aio
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
tests:
|
||||
test_aon:
|
||||
peripheral.counter:
|
||||
platform_whitelist: quark_se_c1000_devboard quark_se_c1000_ss_devboard
|
||||
quark_d2000_crb arduino_101 arduino_101_sss
|
||||
tags: drivers
|
||||
tags: drivers counter
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
tests:
|
||||
test_dma:
|
||||
peripheral.dma:
|
||||
min_ram: 16
|
||||
depends_on: dma
|
||||
tags: drivers dma
|
||||
test_dma_shell:
|
||||
peripheral.dma.interactive:
|
||||
depends_on: dma
|
||||
extra_args: CONF_FILE=prj_shell.conf
|
||||
min_ram: 16
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
tests:
|
||||
test_get_entropy:
|
||||
peripheral.entropy:
|
||||
filter: CONFIG_ENTROPY_HAS_DRIVER
|
||||
tags: driver
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
tests:
|
||||
test_gpio:
|
||||
peripheral.gpio:
|
||||
tags: drivers gpio
|
||||
depends_on: gpio
|
||||
# FIXME: code is board specific, it should be generalised
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
tests:
|
||||
test_i2c:
|
||||
peripheral.i2c:
|
||||
depends_on: i2c
|
||||
tags: drivers i2c
|
||||
harness: sensor
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
tests:
|
||||
test:
|
||||
peripheral.i2s:
|
||||
depends_on: i2s
|
||||
tags: drivers
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
tests:
|
||||
test:
|
||||
peripheral.i2s.speed:
|
||||
depends_on: i2s
|
||||
tags: drivers
|
||||
tags: drivers i2s
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
tests:
|
||||
test:
|
||||
peripheral.mailbox:
|
||||
filter: not CONFIG_SOC_QUARK_SE_C1000_SS
|
||||
arch_exclude: posix
|
||||
tags: drivers ipc
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
tests:
|
||||
test:
|
||||
peripheral.pci:
|
||||
depends_on: pci
|
||||
tags: drivers pci
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
tests:
|
||||
test_pinmux:
|
||||
peripheral.pinmux:
|
||||
platform_whitelist: quark_se_c1000_devboard quark_d2000_crb
|
||||
tags: drivers
|
||||
harness: loopback
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
CONFIG_PWM=y
|
||||
CONFIG_PINMUX=y
|
||||
CONFIG_PWM_QMSI_NUM_PORTS=2
|
||||
CONFIG_ZTEST=y
|
|
@ -1,12 +1,7 @@
|
|||
tests:
|
||||
test_pwm:
|
||||
peripheral.pwm:
|
||||
# FIXME: We should remove those and just rely on depends_on
|
||||
platform_whitelist: quark_se_c1000_devboard quark_se_c1000_ss_devboard
|
||||
arduino_101 arduino_101_sss
|
||||
tags: drivers pwm
|
||||
depends_on: pwm
|
||||
test_pwm_d2000_crb:
|
||||
extra_args: CONF_FILE=prj_d2000.conf
|
||||
platform_whitelist: quark_d2000_crb
|
||||
tags: drivers pwm
|
||||
depends_on: pwm
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
tests:
|
||||
test_rtc:
|
||||
periphera.rtc:
|
||||
tags: drivers
|
||||
depends_on: rtc
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
tests:
|
||||
test_spi_loopback:
|
||||
periphera.spi:
|
||||
depends_on: spi
|
||||
tags: drivers spi
|
||||
harness: loopback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue