tests: kernel: style, tag, and category fixes
Fix coding style, test tags and use categories. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
e564d58b7d
commit
1609f251ee
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
kernel.context:
|
||||
kernel.common:
|
||||
tags: core bat_commit
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
kernel.critical:
|
||||
kernel.common:
|
||||
tags: core bat_commit
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
kernel.earlysleep:
|
||||
kernel.common:
|
||||
tags: core
|
||||
|
||||
@ -3,8 +3,8 @@ common:
|
||||
min_ram: 32
|
||||
tags: core
|
||||
tests:
|
||||
kernel.errno:
|
||||
kernel.common.errno:
|
||||
tags: core
|
||||
kernel.errno.newlib:
|
||||
kernel.common.errno.newlib:
|
||||
extra_configs:
|
||||
- CONFIG_NEWLIB_LIBC=y
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
tests:
|
||||
kernel.fatal.stack_protection:
|
||||
kernel.common.stack_protection:
|
||||
extra_args: CONF_FILE=prj.conf
|
||||
filter: CONFIG_ARCH_HAS_STACK_PROTECTION
|
||||
tags: core ignore_faults
|
||||
kernel.fatal.stack_sentinel:
|
||||
kernel.common.stack_sentinel:
|
||||
extra_args: CONF_FILE=sentinel.conf
|
||||
tags: core ignore_faults
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
kernel.bootdelay:
|
||||
tags: init
|
||||
kernel.common.init:
|
||||
tags: init bootdelay
|
||||
|
||||
@ -130,7 +130,8 @@ void msg_receiver_unlimited(void)
|
||||
void test_main(void)
|
||||
{
|
||||
test_mbox_init();
|
||||
ztest_test_suite(test_mbox, ztest_unit_test(test_msg_receiver),
|
||||
ztest_test_suite(test_mbox,
|
||||
ztest_unit_test(test_msg_receiver),
|
||||
ztest_unit_test(msg_receiver_unlimited));
|
||||
ztest_run_test_suite(test_mbox);
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
tests:
|
||||
kernel.sys_mem_pool:
|
||||
kernel.memory_pool:
|
||||
min_ram: 32
|
||||
tags: kernel userspace mem_pool
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
tests:
|
||||
kernel.memory_protection.app_memory:
|
||||
kernel.memory_protection:
|
||||
arch_whitelist: x86 arm arc
|
||||
tags: memory_protection
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
tests:
|
||||
kernel.memory_protection.stack_random:
|
||||
arch_exclude: posix
|
||||
tags: core
|
||||
tags: memory_protection
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
tests:
|
||||
kernel.memory_protection.stack:
|
||||
kernel.memory_protection:
|
||||
arch_exclude: nios2 xtensa posix
|
||||
tags: bat_commit core ignore_faults
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
test:
|
||||
kernel.multiprocessing:
|
||||
platform_whitelist: esp32
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
tests:
|
||||
kernel.timing.pending:
|
||||
kernel.common.timing:
|
||||
min_ram: 16
|
||||
tags: core bat_commit
|
||||
|
||||
@ -19,10 +19,9 @@ extern void test_poll_multi(void);
|
||||
/*test case main entry*/
|
||||
void test_main(void)
|
||||
{
|
||||
ztest_test_suite(poll_api
|
||||
, ztest_unit_test(test_poll_no_wait)
|
||||
, ztest_unit_test(test_poll_wait)
|
||||
, ztest_unit_test(test_poll_multi)
|
||||
);
|
||||
ztest_test_suite(poll_api,
|
||||
ztest_unit_test(test_poll_no_wait),
|
||||
ztest_unit_test(test_poll_wait),
|
||||
ztest_unit_test(test_poll_multi));
|
||||
ztest_run_test_suite(poll_api);
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
kernel.timing:
|
||||
kernel.common.timing:
|
||||
tags: core
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
test:
|
||||
kernel.multiprocessing:
|
||||
platform_whitelist: esp32
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
kernel.smp:
|
||||
kernel.multiprocessing:
|
||||
platform_whitelist: esp32
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
tests:
|
||||
arch.x86.interrupt:
|
||||
arch.interrupt:
|
||||
arch_whitelist: x86
|
||||
tags: ignore_faults interrupt idt
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
kernel.workqueue.api:
|
||||
kernel.workqueue:
|
||||
tags: kernel
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
tests:
|
||||
arch.xip:
|
||||
arch.common.xip:
|
||||
arch_exclude: xtensa
|
||||
filter: not CONFIG_SOC_RISCV32_PULPINO
|
||||
platform_exclude: cc3220sf_launchxl
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
misc.rbtree:
|
||||
tags: rbtree
|
||||
libraries.data_structures.rbtree:
|
||||
tags: rbtree
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
tests:
|
||||
libraries.ringbuffer:
|
||||
libraries.data_structures:
|
||||
tags: ring_buffer circular_buffer
|
||||
|
||||
Loading…
Reference in New Issue
Block a user