File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -985,6 +985,29 @@ bsim_exe_name: <string>
985
985
directory, will be ``bs_<platform_name>_<bsim_exe_name> `` instead of the
986
986
default based on the test path and scenario name.
987
987
988
+ Shell
989
+ =====
990
+
991
+ The shell harness is used to execute shell commands and parse the output and utilizes the pytest
992
+ framework and the pytest harness of twister.
993
+
994
+ The following options apply to the shell harness:
995
+
996
+ shell_params_file: <string> (default empty)
997
+ Specify a file containing test parameters to be used in the test.
998
+ The file should contain a list of commands and their expected output. For example:
999
+
1000
+ .. code-block :: none
1001
+
1002
+ test_shell_harness:
1003
+ - command: "mpu mtest 1"
1004
+ expected: "The value is: 0x.*"
1005
+ - command: "mpu mtest 2"
1006
+ expected: "The value is: 0x.*"
1007
+
1008
+
1009
+ If no file is specified, the shell harness will use the default file
1010
+ ``test_shell.yml `` in the test directory.
988
1011
989
1012
Selecting platform scope
990
1013
************************
You can’t perform that action at this time.
0 commit comments