summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2019-10-17 18:12:49 +0000
committerDan Liew <dan@su-root.co.uk>2019-10-17 18:12:49 +0000
commit5be7eb3ab4da6e89ed23b137e6baaa13a530c9b3 (patch)
tree4208ac8b85dfaa58f76a2aafffdac0f0829d7992 /lldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py
parent48993d5ab9413f0e5b94dfa292a233ce55b09e3e (diff)
downloadbcm5719-llvm-5be7eb3ab4da6e89ed23b137e6baaa13a530c9b3.tar.gz
bcm5719-llvm-5be7eb3ab4da6e89ed23b137e6baaa13a530c9b3.zip
[Builtins] Provide a mechanism to selectively disable tests based on whether an implementation is provided by a builtin library.
Summary: If a platform removes some builtin implementations (e.g. via the Darwin-excludes mechanism) then this can lead to test failures because the test expects an implementation to be available. To solve this lit features are added for each configuration based on which sources are included in the builtin library. The features are of the form `librt_has_<name>` where `<name>` is the name of the source file with the file extension removed. This handles C and assembly sources. With the lit features in place it is possible to make certain tests require them. Example: ``` REQUIRES: librt_has_comparedf2 ``` All top-level tests in `test/builtins/Unit` (i.e. not under `arm`, `ppc`, and `riscv`) have been annotated with the appropriate `REQUIRES: librt_has_*` statement. rdar://problem/55520987 Reviewers: beanz, steven_wu, arphaman, dexonsmith, phosek, thakis Subscribers: mgorny, #sanitizers, llvm-commits Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D68064 llvm-svn: 375150
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud