llvm-project/lldb
Raphael Isemann 2f84b59a4c [lldb] Also Catch invalid calls to TestPExpectTest's expect()
This is a follow up to D88792 which found an issue in a call to PExpectTest's
expect function that allows passing a string to the `substrs` parameter. However
this issue was found by just grepping and TestPExpect's expect function is still
accepting a single string as a value to `substrs`.

This patch adds the same sanity check that D88792 added to the PExpectTest's
implementation of `expect` and also adds a small test for it.

Reviewed By: kastiglione, JDevlieghere

Differential Revision: https://reviews.llvm.org/D89302
2020-11-05 14:08:46 +01:00
..
bindings GetModule, GetExeModule methods added 2020-10-29 23:44:51 +03:00
cmake Fix "Unknown arguments specified" to if in lldb 2020-10-21 07:24:53 -07:00
docs Fix gendered documentation 2020-10-31 12:17:19 +01:00
examples [crashlog] Pass the debugger around instead of relying on lldb.debugger 2020-11-04 12:51:26 -08:00
include/lldb [lldb/Utility] Delete Scalar::[US]IntValueIsValidForSize 2020-11-04 16:28:10 +01:00
packages/Python [lldb] Also Catch invalid calls to TestPExpectTest's expect() 2020-11-05 14:08:46 +01:00
resources
scripts [lldb] Correct --help output for qemu rootfs script 2020-10-29 09:57:32 +00:00
source [lldb] Remove [US]IntValueIsValidForSize from CommandObjectMemory 2020-11-04 16:28:10 +01:00
test [lldb] Also Catch invalid calls to TestPExpectTest's expect() 2020-11-05 14:08:46 +01:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools [lldb] Move copying of files into reproducer out of process 2020-10-23 12:33:54 -07:00
unittests [lldb] Improve RegisterValue::GetScalarValue 2020-11-04 14:53:06 +01:00
utils [lldb] Delete lldb/utils/test 2020-10-28 12:06:02 -07:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore
CMakeLists.txt [lldb] Enable cmake policy CMP0077 for option() 2020-10-17 00:16:24 -07:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py