hanchenye-llvm-project/lldb/packages/Python/lldbsuite/test/functionalities
Stella Stamenova 8380d12a6e [lit, lldbsuite] Fixes for several tests LLDB tests for Python 3 or Windows
Summary:
In decorators.py, when opening streams, open them in text mode. In Py3, if they are not opened in text mode, the data is also expected to be binary, but we always use text data.
In TestLinuxCore, skip the tests that are not applicable on Windows
In the python api main.c, update the code to be compilable on Windows

Reviewers: asmith, zturner

Reviewed By: zturner

Subscribers: zturner

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

llvm-svn: 331686
2018-05-07 21:57:00 +00:00
..
abbreviation
alias
apropos_with_process Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
archives Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
asan [test] Replace some references to Apple-internal bugs 2018-03-13 23:37:11 +00:00
attach_resume Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
avoids-fd-leak [testsuite] Reintroduce test to check leaking. 2018-02-12 18:06:34 +00:00
backticks
breakpoint Make sure deleting all breakpoints clears their sites first 2018-04-16 22:26:21 +00:00
command_history
command_regex
command_script Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
command_script_alias
command_script_immediate_output [dotest] Clean up test folder clean-up 2018-03-16 12:04:46 +00:00
command_source Implement interactive command interruption 2017-10-05 23:41:28 +00:00
completion Make TestCompletion work on windows 2018-03-09 14:32:16 +00:00
conditional_break Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
darwin_log Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
data-formatter [ObjC] Fix the NSConcreteData formatter and test it 2018-02-22 23:48:21 +00:00
dead-strip Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
disassembly Fix TestDisassembleBreakpoint broken by r328488 2018-03-26 15:17:58 +00:00
dynamic_value_child_count Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
embedded_interpreter Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
exec [dotest] Clean up test folder clean-up 2018-03-16 12:04:46 +00:00
expr-doesnt-deadlock Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
fat_archives Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
format Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
frame-diagnose Enforce that tests building with buildDefault set NO_DEBUG_INFO_TESTCASE 2018-01-30 17:02:42 +00:00
frame-language Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
frame_var Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
frame_var_scope
gdb_remote_client Report more precise error message when attach fails 2018-04-18 11:56:21 +00:00
history Fix !N and !-N commands and add a test case. 2017-04-19 23:21:04 +00:00
inferior-assert Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
inferior-changed Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
inferior-crashing Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
inline-stepping Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
jitloader_gdb Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
launch_with_shellexpand Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
load_unload Only throw -fPIC when building a shared library 2018-02-08 23:10:29 +00:00
longjmp Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
memory Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
mtc/simple Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
multidebugger_commands
nested_alias Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
non-overlapping-index-variable-i [test] Fix a test that never compiled under -fmodules 2018-01-25 21:20:29 +00:00
nosucharch Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
object-file
paths
platform Add a missing return in SBPlatform::IsConnected and test 2018-03-13 21:06:05 +00:00
plugins Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
postmortem [lit, lldbsuite] Fixes for several tests LLDB tests for Python 3 or Windows 2018-05-07 21:57:00 +00:00
pre_run_dylibs Only throw -fPIC when building a shared library 2018-02-08 23:10:29 +00:00
process_attach Fix a couple of more tests to not create files in the source tree 2018-02-21 15:33:53 +00:00
process_group Fix a couple of more tests to not create files in the source tree 2018-02-21 15:33:53 +00:00
process_launch Fix TestProcessLaunch breakage on MacOS 2018-03-15 15:21:54 +00:00
process_save_core Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
ptr_refs Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
recursion Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
register [test] Skip a test when using an out-of-tree debugserver 2018-03-08 19:46:39 +00:00
rerun Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
return-value Added lldbutil.run_to_name_breakpoint and use it in one test. 2018-02-01 21:35:50 +00:00
set-data Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
signal Rewrite the flaky test_restart_bug test in a more deterministic way 2018-02-08 10:37:23 +00:00
single-quote-in-filename-to-lldb Next batch of test-tree-cleaning changes 2018-03-15 13:47:09 +00:00
source-map @skipUnlessDarwin TestTargetSourceMap 2018-03-15 09:16:15 +00:00
stats [Command] Implement `statistics` command. 2018-04-13 18:02:39 +00:00
stats_api [Statistics] Relax the test output a little bit. 2018-04-16 23:59:01 +00:00
step-avoids-no-debug Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
stop-hook Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
target_command Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
testid
thread Fix some tests for PPC64le architecture 2018-03-20 12:46:33 +00:00
tsan Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
tty Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
type_completion Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
type_lookup Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
ubsan Fix TestUbsanBasic 2018-02-23 05:03:10 +00:00
unwind Add and fix some tests for PPC64 2018-03-26 12:42:07 +00:00
value_md5_crash Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
watchpoint Add and fix some tests for PPC64 2018-03-26 12:42:07 +00:00