diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2024-01-19 08:50:05 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 10:50:05 -0600 |
commit | d0d072710468316edbd4130e50f1146c5a6aca89 (patch) | |
tree | 919117818cc103762b24a35297bc2fe796b54753 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | cebe4de66fb7effa9f8a521c2b9ed2c2b890e5b9 (diff) | |
download | llvm-d0d072710468316edbd4130e50f1146c5a6aca89.zip llvm-d0d072710468316edbd4130e50f1146c5a6aca89.tar.gz llvm-d0d072710468316edbd4130e50f1146c5a6aca89.tar.bz2 |
[lldb][test] Apply @expectedFailureAll/@skipIf early for debug_info tests (#73067)
The @expectedFailureAll and @skipIf decorators will mark the test case
as xfail/skip if _all_ conditions passed in match, including debug_info.
* If debug_info is not one of the matching conditions, we can
immediately evaluate the check and decide if it should be decorated.
* If debug_info *is* present as a match condition, we need to defer
whether or not to decorate until when the `LLDBTestCaseFactory`
metaclass expands the test case into its potential variants. This is
still early enough that the standard `unittest` framework will recognize
the test as xfail/skip by the time the test actually runs.
TestDecorators exhibits the edge cases more thoroughly. With the
exception of `@expectedFailureIf` (added by this commit), all those test
cases pass prior to this commit.
This is a followup to 212a60ec37322f853e91e171b305479b1abff2f2.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions