Mercurial > hg
comparison tests/run-tests.py @ 44470:a08bbdf839ae
merge with stable
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 09 Mar 2020 10:18:40 -0700 |
parents | 69ae64637be5 9803b374389a |
children | 0d9ad84a28d9 |
comparison
equal
deleted
inserted
replaced
44469:69ae64637be5 | 44470:a08bbdf839ae |
---|---|
1754 } | 1754 } |
1755 ) | 1755 ) |
1756 | 1756 |
1757 if self._case: | 1757 if self._case: |
1758 casestr = b'#'.join(self._case) | 1758 casestr = b'#'.join(self._case) |
1759 if isinstance(self._case, str): | 1759 if isinstance(casestr, str): |
1760 quoted = shellquote(casestr) | 1760 quoted = shellquote(casestr) |
1761 else: | 1761 else: |
1762 quoted = shellquote(casestr.decode('utf8')).encode('utf8') | 1762 quoted = shellquote(casestr.decode('utf8')).encode('utf8') |
1763 script.append(b'TESTCASE=%s\n' % quoted) | 1763 script.append(b'TESTCASE=%s\n' % quoted) |
1764 script.append(b'export TESTCASE\n') | 1764 script.append(b'export TESTCASE\n') |