[rtems-tools commit] rtems-test: target_exe_filter fails when there is no filter
Chris Johns
chrisj at rtems.org
Tue Jun 23 08:03:59 UTC 2020
Module: rtems-tools
Branch: 5
Commit: 4f5485eb51ffd7e091d92e3f95b720a9238c75fb
Changeset: http://git.rtems.org/rtems-tools/commit/?id=4f5485eb51ffd7e091d92e3f95b720a9238c75fb
Author: Chris Johns <chrisj at rtems.org>
Date: Wed Jun 17 08:43:00 2020 +1000
rtems-test: target_exe_filter fails when there is no filter
Closes #4006
---
tester/rt/config.py | 1 +
tester/rt/tftp.py | 2 ++
2 files changed, 3 insertions(+)
diff --git a/tester/rt/config.py b/tester/rt/config.py
index aa4a2d8..ee639e9 100644
--- a/tester/rt/config.py
+++ b/tester/rt/config.py
@@ -178,6 +178,7 @@ class file(config.file):
else:
pat += c
raise error.general('invalid exe filter: %s' % (f))
+ return exe
def _output_length(self):
self._lock()
diff --git a/tester/rt/tftp.py b/tester/rt/tftp.py
index c91ae51..d518036 100644
--- a/tester/rt/tftp.py
+++ b/tester/rt/tftp.py
@@ -162,6 +162,8 @@ class tftp(object):
self.console = console
self.port = port
self.exe = executable
+ if self.console:
+ self.console('tftp: exe: %s' % (executable))
self.timeout = timeout[1]
self.listener = threading.Thread(target = self._runner,
name = 'tftp-listener')
More information about the vc
mailing list