diff options
author | Chris Johns <chrisj@rtems.org> | 2019-02-08 05:34:40 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-02-08 05:41:03 +1100 |
commit | 7f85a65b9dbfbb85784fd27d3e5eed6dee337da2 (patch) | |
tree | 8f168fc73a7449618bb4b24cca44eaadb0fd50fa /tester/rt | |
parent | e6bf128eeade949c62ce3d213dfd57da72f08065 (diff) |
tester: Ignore the execute return code for some commands
Some simulators like psim-run return a non-zero error code. Allow
a BSP configuration to ignore the return code.
Diffstat (limited to 'tester/rt')
-rw-r--r-- | tester/rt/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tester/rt/config.py b/tester/rt/config.py index 457c0bd..aa4a2d8 100644 --- a/tester/rt/config.py +++ b/tester/rt/config.py @@ -229,7 +229,7 @@ class file(config.file): timeout = (int(self.expand('%{timeout}')), self._timeout)) self._lock() - if not self.kill_good and ec > 0: + if not (self.kill_good or self.defined('exe_ignore_ret')) and ec > 0: self._error('execute failed: %s: exit-code:%d' % (' '.join(data), ec)) elif self.timedout: self.process.kill() |