teak-llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-mi
Jan Kratochvil 4c993ce187 symbols.enable-external-lookup=false on all hosts (not just OSX)
There is already in use:
	lit/lit-lldb-init:
		settings set symbols.enable-external-lookup false
	packages/Python/lldbsuite/test/lldbtest.py:
		self.runCmd('settings set symbols.enable-external-lookup false')

But those are not in effect during MI part of the testsuite. Another problem is
that symbols.enable-external-lookup (read by GetEnableExternalLookup) has been
currently read only by LocateMacOSXFilesUsingDebugSymbols and therefore it had
no effect on Linux.

On Red Hat platforms (Fedoras, RHEL-7) there is DWZ in use and so
MiSyntaxTestCase-test_lldbmi_output_grammar FAILs due to:
	AssertionError: error: inconsistent pattern ''^.+?\n'' for state 0x5f
	(matched string: warning: (x86_64) /lib64/libstdc++.so.6 unsupported
	DW_FORM values: 0x1f20 0x1f21
It is the only testcase with this error. It happens due to:
	(lldb) target create "/lib64/libstdc++.so.6"
	Current executable set to '/lib64/libstdc++.so.6' (x86_64).
	(lldb) b main
	warning: (x86_64) /lib64/libstdc++.so.6 unsupported DW_FORM values: 0x1f20 0x1f21
	Breakpoint 1: no locations (pending).
	WARNING:  Unable to resolve breakpoint to any actual locations.
which happens only with gcc-base-debuginfo rpm installed (similarly for other packages).

It should also speed up the testsuite as it no longer needs to read
/usr/lib/debug symbols which have no effect (and should not have any effect) on
the testsuite results.

Differential Revision: https://reviews.llvm.org/D55859

llvm-svn: 350368
2019-01-03 23:11:06 +00:00
..
breakpoint Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
control [lldb-mi] Re-implement a few MI commands. 2018-07-02 23:54:06 +00:00
data [lldb-mi] Re-implement data-info-line command. 2018-07-23 13:02:41 +00:00
interpreter Disable two flaky pexpect-backed tests on Darwin 2018-08-16 18:18:16 +00:00
lexical_scope Enable lldm-mi commands -stack-list-locals -stack-list-variables and -var-create to work only with variables in scope 2017-04-04 08:00:28 +00:00
signal [test] Skip pexpect-based lldb-mi tests on Darwin 2018-03-05 20:16:52 +00:00
stack Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
startup_options symbols.enable-external-lookup=false on all hosts (not just OSX) 2019-01-03 23:11:06 +00:00
syntax refactor testsuite spawnLldbMi args->exe+args 2018-12-19 08:57:10 +00:00
target Skip more lldb-mi tests which time out on Darwin 2018-03-16 04:11:03 +00:00
threadinfo Disable the lldb-mi tests on remote platforms. 2017-03-04 01:48:43 +00:00
variable [test] Skip more lldb-mi tests which occasionally time out on Darwin 2018-03-14 22:52:32 +00:00
.categories Remove getCategories mechanism of specifying test categories 2017-11-02 22:13:09 +00:00
lldbmi_testcase.py symbols.enable-external-lookup=false on all hosts (not just OSX) 2019-01-03 23:11:06 +00:00
main.cpp [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
Makefile
TestMiEnvironmentCd.py Disable the lldb-mi tests on remote platforms. 2017-03-04 01:48:43 +00:00
TestMiFile.py Next batch of test-tree-cleaning changes 2018-03-15 13:47:09 +00:00
TestMiLibraryLoaded.py [test] Skip some lldb-mi tests which time out on Darwin 2018-03-14 20:32:10 +00:00
TestMiPrompt.py Disable the lldb-mi tests on remote platforms. 2017-03-04 01:48:43 +00:00