llvm-project/lldb/packages/Python/lldbsuite/test
Jordan Rupprecht 307b7a1d66 [lldb/test] Clean up version checking.
A few fixes while trying to figure out why tests are being skipped for arsenm:

- We check `$compiler -v`, but `-v` is `--verbose`, not `--version`. Use the long flag name.
- We check all lines matching `version ...`, but we should exit early for the first version string we see (which should be the main one). I'm not sure if this is the issue, but perhaps this is causing some users to skip some tests if another "version ..." is showing up later.
- Having `\.` in a python string is triggering pylint warnings, because it should be escaped as a regex string, e.g. `r'\.' However, `.` in a character class does not need to be escaped, as it matches only a literal `.` in that context.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D88051
2020-09-21 16:19:28 -07:00
..
builders [lldb] Pass the arch as part of the triple in the ARCH_CFLAGS 2020-09-09 14:41:25 -07:00
make [lldb] Code sign binaries with entitlements 2020-08-19 11:55:36 -07:00
test_runner [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
tools Retry of D84974 2020-09-14 10:44:13 -07:00
README-TestSuite Reflow readme 2018-12-17 21:18:12 +00:00
__init__.py
bench.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
concurrent_base.py [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
configuration.py [lldb] Remove --rerun-all-issues as its functionality no longer exists 2020-08-21 14:28:08 -07:00
darwin_log.py [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
decorators.py [lldb] Get rid of LLDB_LIB_DIR and LLDB_IMPLIB_DIR in dotest 2020-08-28 15:45:54 -07:00
dotest.py [lldb/test] Enable faulthandler in dotest 2020-09-16 14:26:40 -07:00
dotest_args.py [lldb] Remove --rerun-all-issues as its functionality no longer exists 2020-08-21 14:28:08 -07:00
lldb_pylint_helper.py Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
lldbbench.py
lldbdwarf.py Fix whitespace in the python test suite. 2018-07-27 22:20:59 +00:00
lldbinline.py [lldb] lldbinline and lldbtest gardening (NFC) 2020-07-14 10:41:45 -07:00
lldbpexpect.py [lldb/test] Use @skipIfWindows for PExpectTest 2020-08-28 11:41:07 -07:00
lldbplatform.py [dotest] Remove dead code 2019-07-26 01:58:18 +00:00
lldbplatformutil.py [lldb] Store the Apple SDK in dotest's configuration. 2020-08-07 11:13:18 -07:00
lldbtest.py [lldb/test] Clean up version checking. 2020-09-21 16:19:28 -07:00
lldbtest_config.py [dotest] Add the ability to set environment variables for the inferior. 2019-06-26 16:12:08 +00:00
lldbutil.py [lldb] Move Xcode SDK helper functions into lldbutil 2020-08-19 13:30:27 -07:00
test_categories.py [lldb/Test] Add 'std-module' category and skip them with reproducers 2020-06-10 14:59:05 -07:00
test_result.py [lldb] Print the exception traceback when hitting cleanup errors 2020-08-17 09:53:52 +02:00