samples: philosophers: adjust stack size and build by sanitycheck
Jira: ZEP-1598
Change-Id: I5e2126e946c0a4935d938051acd98702065f458e
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/samples/philosophers/prj.conf b/samples/philosophers/prj.conf
index ef7f1ec..c1d5ccc 100644
--- a/samples/philosophers/prj.conf
+++ b/samples/philosophers/prj.conf
@@ -1,5 +1,4 @@
CONFIG_MDEF=n
-CONFIG_INIT_STACKS=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2
diff --git a/samples/philosophers/src/main.c b/samples/philosophers/src/main.c
index b636359..2bc895a 100644
--- a/samples/philosophers/src/main.c
+++ b/samples/philosophers/src/main.c
@@ -81,7 +81,7 @@
/* end - control behaviour of the demo */
/***************************************/
-#define STACK_SIZE 1024
+#define STACK_SIZE 768
/*
* There are multiple tasks doing printfs and they may conflict.
diff --git a/samples/philosophers/testcase.ini b/samples/philosophers/testcase.ini
new file mode 100644
index 0000000..a59fa37
--- /dev/null
+++ b/samples/philosophers/testcase.ini
@@ -0,0 +1,3 @@
+[test]
+build_only = true
+tags = apps