samples: add no-timers configuration which is runtime tested

Add no-timers configuration to sample.minimal to check that
it's actually working in runtime.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
diff --git a/samples/basic/minimal/Kconfig b/samples/basic/minimal/Kconfig
new file mode 100644
index 0000000..c7c3f8b
--- /dev/null
+++ b/samples/basic/minimal/Kconfig
@@ -0,0 +1,8 @@
+# Copyright (c) 2023 Synopsys.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+config SAMPLE_DO_OUTPUT
+	bool "Do print from the main thread which can be checked"
+
+source "Kconfig.zephyr"
diff --git a/samples/basic/minimal/common-runtime.conf b/samples/basic/minimal/common-runtime.conf
new file mode 100644
index 0000000..40ea920
--- /dev/null
+++ b/samples/basic/minimal/common-runtime.conf
@@ -0,0 +1,10 @@
+# Drivers and peripherals
+CONFIG_I2C=n
+CONFIG_WATCHDOG=n
+CONFIG_GPIO=n
+CONFIG_PINCTRL=n
+CONFIG_SPI=n
+CONFIG_FLASH=n
+
+# Boot
+CONFIG_BOOT_DELAY=0
diff --git a/samples/basic/minimal/sample.yaml b/samples/basic/minimal/sample.yaml
index b90c015..465d2b6 100644
--- a/samples/basic/minimal/sample.yaml
+++ b/samples/basic/minimal/sample.yaml
@@ -3,10 +3,10 @@
   name: minimal
 common:
   tags: footprint
-  build_only: true
 tests:
   sample.minimal.mt.arm:
     extra_args: CONF_FILE='common.conf;mt.conf;arm.conf'
+    build_only: true
     platform_allow:
       - reel_board
       - frdm_k64f
@@ -18,6 +18,7 @@
       - frdm_k64f
   sample.minimal.mt-no-preempt.arm:
     extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;arm.conf'
+    build_only: true
     platform_allow:
       - reel_board
       - frdm_k64f
@@ -27,6 +28,7 @@
       - disco_l475_iot1
   sample.minimal.mt-no-preempt-no-timers.arm:
     extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;no-timers.conf;arm.conf'
+    build_only: true
     platform_allow:
       - reel_board
       - frdm_k64f
@@ -36,6 +38,7 @@
       - disco_l475_iot1
   sample.minimal.no-mt.arm:
     extra_args: CONF_FILE='common.conf;no-mt.conf;arm.conf'
+    build_only: true
     platform_allow:
       - reel_board
       - frdm_k64f
@@ -45,6 +48,7 @@
       - disco_l475_iot1
   sample.minimal.no-mt-no-timers.arm:
     extra_args: CONF_FILE='common.conf;no-mt.conf;no-timers.conf;arm.conf'
+    build_only: true
     platform_allow:
       - reel_board
       - frdm_k64f
@@ -54,16 +58,35 @@
       - disco_l475_iot1
   sample.minimal.mt.x86:
     extra_args: CONF_FILE='common.conf;mt.conf;x86.conf'
+    build_only: true
     platform_allow: qemu_x86
   sample.minimal.mt-no-preempt.x86:
     extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;x86.conf'
+    build_only: true
     platform_allow: qemu_x86
   sample.minimal.mt-no-preempt-no-timers.x86:
     extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;no-timers.conf;x86.conf'
+    build_only: true
     platform_allow: qemu_x86
   sample.minimal.no-mt.x86:
     extra_args: CONF_FILE='common.conf;no-mt.conf;x86.conf'
+    build_only: true
     platform_allow: qemu_x86
   sample.minimal.no-mt-no-timers.x86:
     extra_args: CONF_FILE='common.conf;no-mt.conf;no-timers.conf;x86.conf'
+    build_only: true
     platform_allow: qemu_x86
+  sample.minimal.no-timers.runtime:
+    extra_args:
+      - CONF_FILE='common-runtime.conf;no-timers.conf'
+      - CONFIG_SAMPLE_DO_OUTPUT=y
+    arch_allow: arc
+    tags:
+      - kernel
+    integration_platforms:
+      - qemu_arc_em
+    harness: console
+    harness_config:
+      type: one_line
+      regex:
+        - "Hello World from minimal!"
diff --git a/samples/basic/minimal/src/main.c b/samples/basic/minimal/src/main.c
index c5200e5..8231a6a 100644
--- a/samples/basic/minimal/src/main.c
+++ b/samples/basic/minimal/src/main.c
@@ -8,5 +8,9 @@
 
 int main(void)
 {
+#ifdef CONFIG_SAMPLE_DO_OUTPUT
+	printk("Hello World from minimal!\n");
+#endif
+
 	return 0;
 }