Home | History | Annotate | Download | only in test-stlport_static-exception
      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     if subtest == 'dyncast1' and toolchain == 'clang' and abi == 'x86_64':
     20         return '{} {}'.format(toolchain, abi), 'http://b/26085687'
     21 
     22     if (subtest == 'dyncast2_1' and toolchain == 'clang' and
     23         abi.startswith('x86')):
     24         return '{} {}'.format(toolchain, abi), 'http://b/26085687'
     25 
     26     return None, None
     27