Skip to content
Commit d80e3f76 authored by Anas Nashif's avatar Anas Nashif Committed by Benjamin Cabé
Browse files

twister: harness: introduce shell harness



Introduce a new harness based on pytest that does basic shell command
handling. The harness is enabeld using:

harness: shell

and expects a file with parameters in the form:

test_shell_harness:
- command: "kernel version"
  expected: "Zephyr version .*"
- ...

Multiple commands and their expected output can be tested.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 4fc6f127
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment