teak-llvm/lldb/packages/Python/lldbsuite/test
Vedant Kumar 45ae11cd80 [test] Skip a test when using an out-of-tree debugserver
The test "test_fp_special_purpose_register_read" in TestRegisters.py
fails on Darwin machines configured to use an out-of-tree debugserver.

The error message is: 'register read ftag' returns expected result, got
'ftag = 0x80'. This indicates that the debugserver in use is too old.

This commit introduces a decorator which can be used to skip tests which
rely on having a just-built debugserver. This resolves the issue:

$ ./bin/llvm-dotest -p TestRegisters.py -v
  1 out of 617 test suites processed - TestRegisters.py
  Test Methods:          7
  Success:               6
  Skip:                  1
...

llvm-svn: 327052
2018-03-08 19:46:39 +00:00
..
android/platform Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
api Fix TestMultithreaded when there's no debugserver specified 2018-02-23 05:29:27 +00:00
arm Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
attic *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
benchmarks Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
driver/batch_mode Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
example Remove getCategories mechanism of specifying test categories 2017-11-02 22:13:09 +00:00
expression_command Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
functionalities [test] Skip a test when using an out-of-tree debugserver 2018-03-08 19:46:39 +00:00
help Fix the formatting for help on option value types. 2017-07-27 00:18:18 +00:00
issue_verification test infra: clear file-charged issues on rerun of file 2016-10-01 00:17:08 +00:00
lang Mark ObjC testcase as skipUnlessDarwin and fix a typo in test function. 2018-03-02 23:57:09 +00:00
linux Rewrite TestTargetSymbolsBuildidCase to be more focused 2018-03-06 15:56:20 +00:00
logging [dotest] make debug info variant accessible in setUp() 2018-02-05 11:30:46 +00:00
macosx [testsuite] Throw away test/debug_info/apple_types. 2018-02-23 01:33:20 +00:00
make Only throw -fPIC when building a shared library 2018-02-08 23:10:29 +00:00
plugins Build each testcase variant in its own subdirectory and remove the srcdir lock file 2018-02-06 18:22:51 +00:00
python_api Fix TestSBData.py on Windows 2018-02-22 22:47:14 +00:00
sample_test Add a lldbutils routine that gathers up the boiler-plate 2017-07-06 02:18:16 +00:00
settings [test] Restore cleanup behavior in TestQuoting.py 2018-03-01 03:03:38 +00:00
source-manager Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
terminal *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test_runner added Linux support for test timeout sampling 2016-09-26 20:25:47 +00:00
tools [LLDB][PPC64] Fix single step and LldbGdbServer tests 2018-03-08 15:41:13 +00:00
types Fix remote tests broken by r325690 2018-02-21 17:55:22 +00:00
warnings/uuid Enforce that NO_DEBUG_INFO_TESTCASEs build using buildDefault(). 2018-01-30 23:15:49 +00:00
__init__.py Get rid of global variables in dotest.py 2015-12-08 01:15:30 +00:00
.categories
bench.py Remove obsolete file 2018-02-06 21:04:06 +00:00
concurrent_base.py Move "concurrent events" tests back into one folder 2018-02-27 02:01:30 +00:00
configuration.py Remove vestigial remnants of the test crash info hook 2018-02-14 16:08:26 +00:00
darwin_log.py Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
decorators.py [test] Skip a test when using an out-of-tree debugserver 2018-03-08 19:46:39 +00:00
dosep.py Two more dosep-paralellization fallout fixes 2018-02-19 17:23:13 +00:00
dotest_args.py [test] Skip a test when using an out-of-tree debugserver 2018-03-08 19:46:39 +00:00
dotest.py [test] Skip a test when using an out-of-tree debugserver 2018-03-08 19:46:39 +00:00
lldb_pylint_helper.py
lldbbench.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbcurses.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbdwarf.py [LLDB][MIPS] Fix TestLldbGdbServer failure for MIPS 2017-01-10 09:33:43 +00:00
lldbinline.py Fix lldbinline tests for remote targets 2018-02-27 22:45:49 +00:00
lldbpexpect.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldbplatform.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
lldbplatformutil.py Adapt some tests to work with PPC64le architecture 2018-02-28 20:57:26 +00:00
lldbtest_config.py [test] Skip a test when using an out-of-tree debugserver 2018-03-08 19:46:39 +00:00
lldbtest.py Make the clang module cache setting available without a target 2018-03-02 22:42:44 +00:00
lldbutil.py Fix TestBreakpointInGlobalConstructor for Windows 2018-02-21 18:08:23 +00:00
lock.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Makefile
README-TestSuite Add a sample_test directory with simple starter 2017-03-01 20:25:48 +00:00
redo.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
test_categories.py Add a "watchpoint" test category and annotate tests appropriately 2017-10-31 15:27:19 +00:00
test_result.py Remove vestigial remnants of the test crash info hook 2018-02-14 16:08:26 +00:00