summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/thread/exit_during_expression
AgeCommit message (Collapse)Author
2025-09-15[Clang] [Sema] Make `-Wincompatible-pointer-types` an error by default (#157364)Sirraide
GCC 14 also made this an error by default, so we’re following suit. Fixes #74605
2025-05-27[lldb][NFC] update API tests which skip/expect-fail armJason Molenda
The architectures provided to skipIf / expectedFail are regular expressions (v. _match_decorator_property() in decorators.py so on Darwin systems "arm64" would match the skips for "arm" (32-bit Linux). Update these to "arm$" to prevent this, and also update three tests (TestBuiltinFormats.py, TestCrossDSOTailCalls.py, TestCrossObjectTailCalls.py) that were skipped for arm64 via this behavior, and need to be skipped or they will fail. This was moviated by the new TestDynamicValue.py test which has an expected-fail for arm, but the test was passing on arm64 Darwin resulting in failure for the CIs.
2025-04-29[lldb] Disable TestExitDuringExpression on asanFelipe de Azevedo Piovezan
This test is trying to exercise code running constructors with interrupts. While we should fix this, this is creating noise on the bots.
2024-05-23[lldb] Fixed the TestExitDuringExpression test in case of a remote target ↵Dmitry Vasilyev
(#93119) Sometimes this test failed on the assert `The thread exited` in case of a remote target. Increase the timeout to 1 second to avoid a racing condition.
2023-05-25[NFC][Py Reformat] Reformat python files in lldbJonas Devlieghere
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
2022-06-17[lldb][tests] Automatically call compute_mydir (NFC)Dave Lee
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-04-20Speculatively fix build botsAaron Ballman
This should address build failures found in: https://lab.llvm.org/buildbot/#/builders/217/builds/3610 https://lab.llvm.org/buildbot/#/builders/215/builds/4609 https://lab.llvm.org/buildbot/#/builders/68/builds/31012
2022-02-14[lldb] Replace asserts on .Success() with assertSuccess()Dave Lee
Replace forms of `assertTrue(err.Success())` with `assertSuccess(err)` (added in D82759). * `assertSuccess` prints out the error's message * `assertSuccess` expresses explicit higher level semantics, both to the reader and for test failure output * `assertSuccess` seems not to be well known, using it where possible will help spread knowledge * `assertSuccess` statements are more succinct Differential Revision: https://reviews.llvm.org/D119616
2021-09-30[lldb] Remove support for replaying the test suite from a reproducerJonas Devlieghere
This patch removes the infrastructure to replay the test suite from a reproducer, as well as the modifications made to the individual tests.
2021-06-22[LLDB] Skip TestExitDuringExpression on aarch64/linux buildbotMuhammad Omair Javaid
TestExitDuringExpression test_exit_before_one_thread_no_unwind fails sporadically on both Arm and AArch64 linux buildbots. This seems like manifesting itself on a fully loaded machine. I have not found a reliable timeout value so marking it skip for now.
2021-03-19[LLDB] Skip TestExitDuringExpression on aarch64/linux buildbotMuhammad Omair Javaid
TestExitDuringExpression test_exit_before_one_thread_unwind fails sporadically on both Arm and AArch64 linux buildbots. This seems like a thread timing issue. I am marking it skip for now.
2021-03-15[LLDB] Skip TestExitDuringExpression on arm/linux buildbotMuhammad Omair Javaid
TestExitDuringExpression test_exit_before_one_thread_unwind fails sporadically on arm/linux. This seems like a thread timing issue. I am marking it skip for now.
2020-12-20[lldb] [test] Update test status for NetBSDMichał Górny
2020-12-07[lldb] [test] Link FreeBSD test failures to bugsMichał Górny
Differential Revision: https://reviews.llvm.org/D92740
2020-11-03[lldb] [test] Update XFAILs/skips for FreeBSDMichał Górny
Update expected failures and test skips based on common results for the old and new FreeBSD plugins.
2020-05-27[lldb/Reproducers] Skip or fix the remaining tests.Jonas Devlieghere
After this patch all remaining tests should pass on macOS when replayed from a reproducer. To capture the reproducers: ./bin/llvm-lit ../llvm-project/lldb/test/ --param lldb-run-with-repro=capture To replay the reproducers: ./bin/llvm-lit ../llvm-project/lldb/test/ --param lldb-run-with-repro=replay
2020-05-22[lldb] Increase timeout in TestExitDuringExpressionPavel Labath
200 microseconds is not enough time for any expression to execute reliably. On linux, calling pthread_exit can result in call to dlopen, which cannot complete in that time, particularly when running under a debugger. On linux, this test failed all the time, on macos, about two thirds of runs were failing. This patch increases the timeout to 100ms, which is enough to get it passing reliably on linux, though I wouldn't be surprised if an even bigger timeout would be needed for remote test runs.
2020-05-21Maybe I need ENABLE_THREADS in the Makefile.Jim Ingham
2020-05-21This very simple .c file is failing on the Debian bot wit the errorJim Ingham
undefined reference to pthread_create I skipped the test till I can figure out why this didn't build.
2020-05-21Handle the case where a thread exits while we are running a function on it.Jim Ingham