mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 10:10:46 +00:00
gem5: Fix prompt matching
Add '$ ' to prompt matching, which was previously missing.
This commit is contained in:
parent
a7b9ef594f
commit
efbd04992d
@ -605,7 +605,7 @@ class Gem5Connection(TelnetConnection):
|
|||||||
try:
|
try:
|
||||||
# Try and force a prompt to be shown
|
# Try and force a prompt to be shown
|
||||||
self.conn.send('\n')
|
self.conn.send('\n')
|
||||||
self.conn.expect([r'# ', self.conn.UNIQUE_PROMPT, r'\[PEXPECT\][\\\$\#]+ '], timeout=60)
|
self.conn.expect([r'# ', r'\$ ', self.conn.UNIQUE_PROMPT, r'\[PEXPECT\][\\\$\#]+ '], timeout=60)
|
||||||
prompt_found = True
|
prompt_found = True
|
||||||
except TIMEOUT:
|
except TIMEOUT:
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user