summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tester/rt/config.py2
-rw-r--r--tester/rtems/testing/bsps/psim-run.ini11
2 files changed, 7 insertions, 6 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()
diff --git a/tester/rtems/testing/bsps/psim-run.ini b/tester/rtems/testing/bsps/psim-run.ini
index 854269a..17e34d8 100644
--- a/tester/rtems/testing/bsps/psim-run.ini
+++ b/tester/rtems/testing/bsps/psim-run.ini
@@ -34,8 +34,9 @@
# Warning: This is not working cleanly on MacOS. I am not sure why. The gdb version does work.
#
[psim-run]
-bsp = psim
-arch = powerpc
-tester = %{_rtscripts}/run.cfg
-bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run
-bsp_run_opts = -f %{_rtscripts}/bsps/psim-device-tree
+bsp = psim
+arch = powerpc
+tester = %{_rtscripts}/run.cfg
+exe_ignore_ret = 1
+bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run
+bsp_run_opts = -f %{_rtscripts}/bsps/psim-device-tree