6 Commits

Author SHA1 Message Date
Michael Buch
ebd6841376
[lldb][test] Re-enable import-std-module tests on Linux (#157649)
This reverts commit 76bd5da3248fd4affedfefec3b2a3e1acbe0a94a.

These were originally skipped for
https://github.com/llvm/llvm-project/issues/137046 because they were
failing on Fuchsia buildbots.

I couldn't locally reproduce the Linux failures from back then (and
maybe they have been fixed by something else since then).

We want to re-enable these tests because they are one of the few API
tests in the `libcxx` category that we skip on Linux. So the libc++
pre-merge CI doesn't catch these test failures. To avoid churn caused by
this missing coverage, it would be great if we ran these on Linux again.
2025-09-09 22:43:02 +01:00
Charles Zablit
a14659a2c8
[lldb] deactivate some tests on older SDKs (#147768)
https://github.com/llvm/llvm-project/pull/144913 was reverted because
some of the Darwin tests were failing on SDKs prior to `15.0`.

Only the x86 bots run on macOS `14.0`. The aarch64 ones run on macOS
`15.0`.

In this patch, we deactivate the failing Darwin tests on older SDKs
(prior to `15.0`).
2025-07-30 18:01:04 +01:00
Michael Buch
76bd5da324 [lldb][test] Skip import-std-module tests on Linux for now
Fixes https://github.com/llvm/llvm-project/issues/137046
2025-05-30 11:48:55 +01:00
Jonas Devlieghere
2238dcc393
[NFC][Py Reformat] Reformat python files in lldb
This is an ongoing series of commits that are reformatting our Python
code. Reformatting is done with `black` (23.1.0).

If you end up having problems merging this commit because you have made
changes to a python file, the best way to handle that is to run `git
checkout --ours <yourfile>` and then reformat it with black.

RFC: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style

Differential revision: https://reviews.llvm.org/D151460
2023-05-25 12:54:09 -07:00
Dave Lee
4cc8f2a017 [lldb][tests] Automatically call compute_mydir (NFC)
Eliminate boilerplate of having each test manually assign to `mydir` by calling
`compute_mydir` in lldbtest.py.

Differential Revision: https://reviews.llvm.org/D128077
2022-06-17 14:34:49 -07:00
Raphael Isemann
e2a1a718bb [lldb] Add move_iterator to supported template list
Identical to previous commits that just add a standard library template to the
supported template list and test it. Adding this rather obscure class to the
template list is mostly caused by the std::deque test unexpectedly referencing
this type when testing against newer libc++ versions on macOS.

Fixes TestQueueFromStdModule and TestQueueFromStdModule on macOS.
Fixes rdar://73213589
2021-01-27 13:52:42 +01:00