Show More
@@ -1695,6 +1695,18 b' class TTest(Test):' | |||||
1695 | continue |
|
1695 | continue | |
1696 | postout.append(b' ' + el) |
|
1696 | postout.append(b' ' + el) | |
1697 |
|
1697 | |||
|
1698 | pos, postout = self._process_cmd_line(cmd_line, pos, postout, after) | |||
|
1699 | ||||
|
1700 | if pos in after: | |||
|
1701 | postout += after.pop(pos) | |||
|
1702 | ||||
|
1703 | if warnonly == WARN_YES: | |||
|
1704 | exitcode = False # Set exitcode to warned. | |||
|
1705 | ||||
|
1706 | return exitcode, postout | |||
|
1707 | ||||
|
1708 | def _process_cmd_line(self, cmd_line, pos, postout, after): | |||
|
1709 | """process a "command" part of a line from unified test output""" | |||
1698 |
|
|
1710 | if cmd_line: | |
1699 |
|
|
1711 | # Add on last return code. | |
1700 |
|
|
1712 | ret = int(cmd_line.split()[1]) | |
@@ -1704,14 +1716,7 b' class TTest(Test):' | |||||
1704 |
|
|
1716 | # Merge in non-active test bits. | |
1705 |
|
|
1717 | postout += after.pop(pos) | |
1706 |
|
|
1718 | pos = int(cmd_line.split()[0]) | |
1707 |
|
1719 | return pos, postout | ||
1708 | if pos in after: |
|
|||
1709 | postout += after.pop(pos) |
|
|||
1710 |
|
||||
1711 | if warnonly == WARN_YES: |
|
|||
1712 | exitcode = False # Set exitcode to warned. |
|
|||
1713 |
|
||||
1714 | return exitcode, postout |
|
|||
1715 |
|
1720 | |||
1716 | @staticmethod |
|
1721 | @staticmethod | |
1717 | def rematch(el, l): |
|
1722 | def rematch(el, l): |
General Comments 0
You need to be logged in to leave comments.
Login now