From 4f5485eb51ffd7e091d92e3f95b720a9238c75fb Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 17 Jun 2020 08:43:00 +1000 Subject: 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') -- cgit v1.2.3