This repository was archived by the owner on Sep 7, 2020. It is now read-only.
Commit 29bcd04
committed
tests: boardfarm: error out and print the result when pexpect run fails
When a command failed to run, raise an exception early, and add the
stdout and stderr output of the command in the message.
These changes were taken and adapted from:
#1483
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>1 parent 05c56e5 commit 29bcd04
1 file changed
Lines changed: 10 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
17 | | - | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
19 | 28 | | |
20 | 29 | | |
21 | 30 | | |
| |||
0 commit comments