| # Copyright (c) 2019, the R8 project authors. Please see the AUTHORS file |
| # for details. All rights reserved. Use of this source code is governed by a |
| # BSD-style license that can be found in the LICENSE file. |
| parser = argparse.ArgumentParser( |
| description = 'Find tests started but not done from bot stdout.') |
| return parser.parse_known_args() |
| # Start executing test runBigInteger_ZERO_A01 [com.android.tools.r8.x.r8cf.math.BigInteger.ZERO.BigInteger_ZERO_A01] |
| if line.startswith('Start executing test'): |
| start_lines.append('%s %s' % (split[3], split[4].strip())) |
| # Done executing test runBigInteger_subtract_A01 [com.android.tools.r8.x.r8cf.math.BigInteger.subtractLjava_math_BigInteger.BigInteger_subtract_A01] with result: SUCCESS |
| if line.startswith('Done executing test'): |
| done_lines.append('%s %s' % (split[3], split[4].strip())) |
| (options, args) = ParseOptions() |
| with open(args[0], 'r') as f: |
| started = get_started(lines) |
| print 'Test %s started but did not end' % test |
| if __name__ == '__main__': |