Lines Matching refs:sub
68 output = re.sub(r'.*gtest_main.*\n', '', output)
69 output = re.sub(r'\[.*\d+ tests.*\n', '', output)
70 output = re.sub(r'\[.* test environment .*\n', '', output)
71 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output)
72 output = re.sub(r'.* FAILED TESTS\n', '', output)
89 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output)
95 return re.sub(r' error: ', ' Failure\n', output)
101 return re.sub(r'@\w+', '@0x#', output)
107 return re.sub(r'\(used in test .+\) ', '', output)
139 """Runs a command in a sub-process, and returns its STDOUT in a string."""