diff options
Diffstat (limited to 'cts')
-rw-r--r-- | cts/common/board.py | 6 | ||||
-rwxr-xr-x | cts/cts.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cts/common/board.py b/cts/common/board.py index 7b09e2a9f1..a36ca1a3a7 100644 --- a/cts/common/board.py +++ b/cts/common/board.py @@ -167,9 +167,9 @@ class Board(object): except (IOError, OSError): continue if not tty: - raise ValueError('Unable to read ' + self.name + '\n' - 'If you are running cat on a ttyACMx file,\n' - 'please kill that process and try again') + raise ValueError('Unable to read ' + self.board + '. If you are running ' + 'cat on a ttyACMx file, please kill that process and ' + 'try again') self.tty = tty def read_tty(self): diff --git a/cts/cts.py b/cts/cts.py index 2999e4d06f..6a02b065bc 100755 --- a/cts/cts.py +++ b/cts/cts.py @@ -324,9 +324,9 @@ class Cts(object): th_results = self.th.read_tty() if not dut_results or not th_results: - msg = ('Output missing from boards. If you have a process reading ' - 'ttyACMx, please kill that process and try again.') - raise ValueError(bad_cat_message) + raise ValueError('Output missing from boards. If you have a process ' + 'reading ttyACMx, please kill that process and try ' + 'again.') self.parse_output(dut_results, th_results) pretty_results = self.prettify_results() |