samples: cleanup sample test naming

Cleanup test names and make them suitable for import into test
management system.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-06-11 11:14:38 -05:00
parent 3f8352f2e6
commit f37287bbca
3 changed files with 12 additions and 12 deletions

View file

@ -11,8 +11,8 @@ common:
regex:
- "Hello World! (.*)"
tests:
singlethread:
sample.helloworld.singlethread:
extra_args: CONF_FILE=prj_single.conf
filter: not CONFIG_BT and not CONFIG_GPIO_SCH and ASSERT == 0
test:
sample.helloworld.multithread:
tags: samples

View file

@ -13,26 +13,26 @@ common:
- ".*THINKING.*"
- ".*EATING.*"
tests:
test:
sample.philosopher:
tags: samples
test_same_prio:
sample.philosopher.same_prio:
extra_args: "-DSAME_PRIO=1"
test_static:
sample.philosopher.static:
extra_args: "-DSTATIC_OBJS=1"
test_semaphores:
sample.philosopher.semaphores:
extra_args: "-DFORKS=SEMAPHORES"
test_stacks:
sample.philosopher.stacks:
extra_args: "-DFORKS=STACKS"
test_fifos:
sample.philosopher.fifos:
extra_args: "-DFORKS=FIFOS"
test_lifos:
sample.philosopher.lifos:
extra_args: "-DFORKS=LIFOS"
test_preempt_only:
sample.philosopher.preempt_only:
extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=6
- CONFIG_NUM_COOP_PRIORITIES=0
- CONFIG_BT=n
test_coop_only:
sample.philosopher.coop_only:
extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=0
- CONFIG_NUM_COOP_PRIORITIES=6

View file

@ -3,7 +3,7 @@ sample:
basic sanity of the kernel.
name: Synchronization Sample
tests:
test:
sample.synchronization:
build_on_all: true
tags: apps
harness: console