summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/test/drivers/prj.conf3
-rw-r--r--zephyr/zmake/zmake/zmake.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/zephyr/test/drivers/prj.conf b/zephyr/test/drivers/prj.conf
index c36bea7f1a..d0a86e2391 100644
--- a/zephyr/test/drivers/prj.conf
+++ b/zephyr/test/drivers/prj.conf
@@ -15,6 +15,9 @@ CONFIG_ZTEST_MOCKING=y
CONFIG_ZTEST_NEW_API=y
CONFIG_ZTEST_PARAMETER_COUNT=24
+# Print logs from Zephyr LOG_MODULE to stdout
+CONFIG_NATIVE_UART_0_ON_STDINOUT=y
+
# Simulate 10 ticks per ms
CONFIG_SYS_CLOCK_TICKS_PER_SEC=10000
CONFIG_TASKS_SET_TEST_RUNNER_TID_RULE=y
diff --git a/zephyr/zmake/zmake/zmake.py b/zephyr/zmake/zmake/zmake.py
index f7b51356bf..bd44081c4e 100644
--- a/zephyr/zmake/zmake/zmake.py
+++ b/zephyr/zmake/zmake/zmake.py
@@ -744,6 +744,7 @@ class Zmake:
self.logger.info("Running tests in %s.", elf_file)
proc = self.jobserver.popen(
cmd,
+ stdin=subprocess.DEVNULL,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
encoding="utf-8",