From 45326cff1c275a58b79ffa864e3e5ca5d924efc9 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 22 Aug 2019 15:15:02 -0700 Subject: [PATCH] samples: arc_secure_services: fix harness Fix sample on nsim simulator and add console harness to evaluate output. Signed-off-by: Anas Nashif --- samples/boards/arc_secure_services/sample.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/samples/boards/arc_secure_services/sample.yaml b/samples/boards/arc_secure_services/sample.yaml index bade4ee1ebe..3932a718c1a 100644 --- a/samples/boards/arc_secure_services/sample.yaml +++ b/samples/boards/arc_secure_services/sample.yaml @@ -3,6 +3,16 @@ sample: Designware ARC SecureShiled. name: Designware ARC Secure monitor tests: - test: + sample.arc_secure_services: platform_whitelist: nsim_sem em_starterkit_em7d_secure - tags: secure \ No newline at end of file + tags: secure + harness: console + harness_config: + type: multi_line + ordered: true + regex: + - "I am the main thread in secure world: 0" + - "Go to normal application" + - "I am the main thread in secure world: 1" + - "I am the main thread in secure world: 2" + - "I am the main thread in secure world: 3"