zephyr/tests/kernel
Andrew Boie feab37096b libc: fix CONFIG_STDOUT_CONSOLE semantics
The intent of this Kconfig is to allow libc stdout
functions like printf() to send their output to the
active console driver instead of discarding it.

This somehow evolved into preferring to use
printf() instead of printk() for all test case output
if enabled. Libc printf() implementation for both
minimal libc and newlib use considerably more stack
space than printk(), with nothing gained by using
them.

Remove all instances where we are conditionally
sending test case output based on this config, enable
it by default, and adjust a few tests that disabled
this because they were blowing stack.

printk() and vprintk() now work as expected for
unit_testing targets, they are just wrappers for
host printf().

Fixes: #13701

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-02-26 08:00:33 -06:00
..
arm_irq_vector_table
arm_runtime_nmi
boot_page_table x86: modify MMU APIs for multiple page tables 2019-02-14 12:46:36 -05:00
common
context
critical
device test: kernel: device.pm: Do not enable system-level PM. It is not used. 2019-02-19 13:25:36 -05:00
early_sleep libc: fix CONFIG_STDOUT_CONSOLE semantics 2019-02-26 08:00:33 -06:00
fatal tests: fatal: refactor and add user mode tests 2019-02-15 09:48:37 -05:00
fifo
fp_sharing
gen_isr_table tests: kernel: gen_isr_table: Exclude platforms test isnt valid on 2019-02-12 15:35:29 -05:00
interrupt
lifo
mbox
mem_heap/mheap_api_concept
mem_pool
mem_protect tests: stackprot: run in user mode 2019-02-22 18:50:43 -05:00
mem_slab
mp
msgq/msgq_api userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
mutex userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
obj_tracing
pending
pipe userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
poll userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
profiling/profiling_api power: rename CPU_LPS_n power states 2019-02-26 02:30:13 +01:00
queue userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
sched tests/kernel/schedule_api: Bump stack size and unify stacks 2019-02-08 14:49:39 -05:00
semaphore userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
sleep libc: fix CONFIG_STDOUT_CONSOLE semantics 2019-02-26 08:00:33 -06:00
smp
spinlock
stack tests: stacks: increase STACK_LEN to 4 2019-02-22 23:10:22 -05:00
static_idt
threads userspace: remove APP_SHARED_MEM Kconfig 2019-02-23 07:43:55 -05:00
tickless
timer
workq userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
xip