llvm-project/lldb/scripts
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
..
Python [Python] Implement __next__ for value_iter 2019-09-04 18:59:13 +00:00
interface Revert "[swig] Add workaround for old swig" 2019-07-16 15:54:33 +00:00
swig_bot_lib Use list comprehension instead of map/filter to prepare Python2/3 compat 2019-03-21 07:19:09 +00:00
CMakeLists.txt Fix swig python package path 2019-09-16 23:31:16 +00:00
analyze-project-deps.py Use list comprehension instead of map/filter to prepare Python2/3 compat 2019-03-21 07:19:09 +00:00
buildbot.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
disasm-gdb-remote.pl
finishSwigWrapperClasses.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
framework-header-fix.sh Update framework-header-fix to force system sed 2018-11-04 15:55:28 +00:00
get_relative_lib_dir.py
install_custom_python.py Python 2/3 compatibility: from __future__ import print_function 2019-03-21 18:27:40 +00:00
lldb.swig Fix command-script-import.test on linux 2019-09-18 12:58:52 +00:00
macos-setup-codesign.sh Add a script to setup codesigning on macOS. 2018-06-14 18:04:13 +00:00
prepare_bindings.py Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
swig_bot.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
use_lldb_suite.py use_lldb_suite.py: Fix potential infinite loop 2019-02-07 14:03:43 +00:00
utilsArgsParse.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
utilsDebug.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
utilsOsType.py The Python 3 part of the script was missed when adding OpenBSD support. 2018-10-04 20:34:58 +00:00
verify_api.py python 2/3 compat: commands vs subprocess 2019-03-26 14:46:15 +00:00