diff options
| author | Stephen Warren <[email protected]> | 2016-02-10 12:39:30 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-02-15 20:58:28 +0000 |
| commit | 1235c791827ce6040d4e0103cb6d84a150a84d3c (patch) | |
| tree | d157d1961ff401cc9693f16ed8867b83c745344f /test | |
| parent | 07bf2122df36732dd9591db3358f850a666fc6cb (diff) | |
test/py: fix CONFIG_SPL test
The Python ini file parser that's used to parse .config converts all keys
to lower-case. Hence, all queries against the results must use lower-case.
Fix u_boot_console.ensure_spawned() to test CONFIG_SPL correctly, or the
connection will fail for boards that have SPL.
Signed-off-by: Stephen Warren <[email protected]>
Acked-by: Simon Glass <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/py/u_boot_console_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/u_boot_console_base.py b/test/py/u_boot_console_base.py index 7e1e9d430ff..58575704adf 100644 --- a/test/py/u_boot_console_base.py +++ b/test/py/u_boot_console_base.py @@ -303,7 +303,7 @@ class ConsoleBase(object): if not self.config.gdbserver: self.p.timeout = 30000 self.p.logfile_read = self.logstream - if self.config.buildconfig.get('CONFIG_SPL', False) == 'y': + if self.config.buildconfig.get('config_spl', False) == 'y': m = self.p.expect([pattern_u_boot_spl_signon] + self.bad_patterns) if m != 0: raise Exception('Bad pattern found on console: ' + |
