llvm-project/lldb/lit
Pavel Labath fc1fd6bf9f Fix command-script-import.test on linux
The test was expecting the value of "lldb.frame" to be None, because it
is cleared after each python interpreter session. However, this is not
true in the very first session, because lldb.py sets these values to
invalid objects (lldb.SBFrame(), etc.).

I have not investigated why is it that this test passes on darwin, but
my guess is that this is because we do extra work on darwin (loading the
objc runtime, etc), which causes us to enter the python interpreter
sooner.

This patch changes lldb.py to also initialize these values to None, as
that seems to make more sense. I also fixed some typos in the test while
I was in there.

llvm-svn: 372222
2019-09-18 12:58:52 +00:00
..
Breakpoint Fix flakiness in lldb lit test 2019-05-13 09:48:26 +00:00
BuildScript [lldb] [lit] Pass --mode=compile to fix compiler-full-path.test 2019-05-15 10:48:55 +00:00
Commands Fix command-script-import.test on linux 2019-09-18 12:58:52 +00:00
Driver [Driver] Expand the executable path in the target create output 2019-08-07 16:21:40 +00:00
ExecControl/StopHook Fix file names in file headers. NFC 2019-05-13 04:42:32 +00:00
Expr [lit] Make sure tests are actually skipped on darwin and windows. 2019-01-17 21:57:33 +00:00
Heap Fix lldb's macosx/heap.py cstr command. 2018-12-17 18:21:51 +00:00
Minidump disassemble command: fix error message when disassembly fails 2019-09-04 13:26:41 +00:00
Modules Revert "[LLDB][ELF] Load both, .symtab and .dynsym sections" 2019-09-11 14:33:37 +00:00
Process Disable TestEnvironment on Windows 2019-05-13 22:02:09 +00:00
Python Avoid using -S in combination with "script"; it's unreliable. 2019-03-07 00:46:56 +00:00
Quit [lldb] Update shebang python2 -> python 2019-01-26 01:05:02 +00:00
Register [lldb] [lit] Fix whitespace in matches for remaining AVX512 tests 2019-05-15 03:32:47 +00:00
Reproducer [test] Disable reproducer dump test on Windows 2019-09-17 03:58:32 +00:00
Settings [test] Add a FIXME test for stop-command-source-on-error 2019-09-06 21:43:33 +00:00
Suite [lit] Only set DYLD_LIBRARY_PATH for shared builds 2019-08-30 23:16:02 +00:00
SymbolFile [test] Add -z separate-code to fix tests that ae sensitive to exact addresses after r371958 2019-09-16 07:52:30 +00:00
Unit [CMake] In standalone builds, LLVM_BINARY_DIR should point to LLVM's binary directory 2019-01-09 16:25:37 +00:00
Unwind Use rip-relative addressing in asm test 2019-08-02 19:06:15 +00:00
Watchpoint [test] Convert TestWatchpointSetErrorCases.py to lit 2019-05-02 01:54:05 +00:00
helper Revert "[LLDB][ELF] Load both, .symtab and .dynsym sections" 2019-09-11 14:33:37 +00:00
CMakeLists.txt [lit] Only set DYLD_LIBRARY_PATH for shared builds 2019-08-30 23:16:02 +00:00
lit-lldb-init.in [test] Fix various module cache bugs and inconsistencies 2019-08-29 18:37:05 +00:00
lit.cfg.py [test] Fix various module cache bugs and inconsistencies 2019-08-29 18:37:05 +00:00
lit.site.cfg.py.in [test] Fix various module cache bugs and inconsistencies 2019-08-29 18:37:05 +00:00