Commit 1e766e8
committed
refactor(test): eliminate overcomplicated state machine
In test_serial_console_login, we were implementing something that takes
three lines (send and receive data via serial) via an overcomplicated
state machine system. Eliminate the 100 lines of state machine code and
instead just... do the 3 lines of serial.tx/rx.
Signed-off-by: Patrick Roy <[email protected]>1 parent 7fdbbd3 commit 1e766e8
File tree
2 files changed
+3
-93
lines changed- tests
- framework
- integration_tests/functional
2 files changed
+3
-93
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 18 | | |
49 | 19 | | |
50 | 20 | | |
| |||
104 | 74 | | |
105 | 75 | | |
106 | 76 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
112 | 80 | | |
113 | 81 | | |
114 | 82 | | |
| |||
0 commit comments