1 def match_broken(abi, platform, device_platform, toolchain, subtest=None): 2 # These were marked broken when we inherited them, so there's only one bug 3 # for the whole group. 4 legacy_broken = ( 5 'elide2', 6 'new3', 7 'terminate1', 8 'weak1', 9 ) 10 if subtest in legacy_broken: 11 return toolchain, 'http://b/24541258' 12 13 if subtest == 'badalloc1' and device_platform >= 23: 14 return device_platform, 'http://b/26002885' 15 16 if subtest == 'filter1' and device_platform >= 21 and toolchain == '4.9': 17 return '{} {}'.format(device_platform, toolchain), 'http://b/24403847' 18 19 return None, None 20