Reversed r238363, because the message is inconsistent
with all the other assertion messages.
llvm-svn: 241212
diff --git a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
index 6f1022e..c36577a 100644
--- a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
+++ b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
@@ -42,7 +42,7 @@
# Some versions of GCC encode two locations for the 'return' statement in main.cpp
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1, loc_exact=True)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
self.expect("print str",
substrs = ['Hello world'])
diff --git a/lldb/test/expression_command/call-function/TestCallStopAndContinue.py b/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
index a012f99..643ff08 100644
--- a/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
+++ b/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
@@ -42,7 +42,7 @@
# Some versions of GCC encode two locations for the 'return' statement in main.cpp
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1, loc_exact=True)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.func_line, num_expected_locations=-1, loc_exact=True)
diff --git a/lldb/test/expression_command/formatters/TestFormatters.py b/lldb/test/expression_command/formatters/TestFormatters.py
index 0ca70346..a6ba370 100644
--- a/lldb/test/expression_command/formatters/TestFormatters.py
+++ b/lldb/test/expression_command/formatters/TestFormatters.py
@@ -49,7 +49,7 @@
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, loc_exact=True)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
self.runCmd("script import formatters")
self.runCmd("script import foosynth")
diff --git a/lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py b/lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py
index 41bf03c..9c8c3fe 100644
--- a/lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py
+++ b/lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py
@@ -44,7 +44,7 @@
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, loc_exact=True)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
self.expect("p *self", substrs=['_sc_name = nil',
'_sc_name2 = nil',
diff --git a/lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py b/lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py
index eb9e75d..9c29121 100644
--- a/lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py
+++ b/lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py
@@ -40,7 +40,7 @@
self.runCmd('break set -p here')
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
self.runCmd("expr void* $foo = nullptr")
diff --git a/lldb/test/expression_command/persistent_types/TestPersistentTypes.py b/lldb/test/expression_command/persistent_types/TestPersistentTypes.py
index 06162c7..ab25f4f 100644
--- a/lldb/test/expression_command/persistent_types/TestPersistentTypes.py
+++ b/lldb/test/expression_command/persistent_types/TestPersistentTypes.py
@@ -19,7 +19,7 @@
self.runCmd("breakpoint set --name main")
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
self.runCmd("expression struct $foo { int a; int b; };")
diff --git a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
index 91ac836..8e7af00 100644
--- a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
+++ b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
@@ -19,7 +19,7 @@
self.runCmd("breakpoint set --source-pattern-regexp break")
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
self.runCmd("expression int $i = i")
diff --git a/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py b/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py
index e68cf85..dbb9daa 100644
--- a/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py
+++ b/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py
@@ -48,7 +48,7 @@
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, loc_exact=True)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
self.expect("expr -O -v -- foo",
substrs = ['(id) $',' = 0x', '1 = 2','2 = 3;'])
diff --git a/lldb/test/expression_command/radar_8638051/Test8638051.py b/lldb/test/expression_command/radar_8638051/Test8638051.py
index 09ddd10..823c8e1 100644
--- a/lldb/test/expression_command/radar_8638051/Test8638051.py
+++ b/lldb/test/expression_command/radar_8638051/Test8638051.py
@@ -19,7 +19,7 @@
self.runCmd("breakpoint set -n c")
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
self.expect("expression val",
startstr = "(int) $0 = 1")
diff --git a/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py b/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
index 506f0bd..cdc3e3c 100644
--- a/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
+++ b/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
@@ -21,7 +21,7 @@
lldbutil.run_break_set_by_symbol (self, 'foo', sym_exact=True, num_expected_locations=1)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
self.runCmd("frame variable")
diff --git a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
index cd0984d..568b14a 100644
--- a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
+++ b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
@@ -28,7 +28,7 @@
lldbutil.run_break_set_by_file_and_line (self, self.main_source, self.line, num_expected_locations=1, loc_exact=True)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
# rdar://problem/9673664 lldb expression evaluation problem
diff --git a/lldb/test/expression_command/test/TestExprs.py b/lldb/test/expression_command/test/TestExprs.py
index d20aa30..a1f13dc 100644
--- a/lldb/test/expression_command/test/TestExprs.py
+++ b/lldb/test/expression_command/test/TestExprs.py
@@ -41,7 +41,7 @@
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=False)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
@unittest2.expectedFailure("llvm.org/pr17135 <rdar://problem/14874559> APFloat::toString does not identify the correct (i.e. least) precision.")
def test_floating_point_expr_commands(self):
@@ -201,7 +201,7 @@
lldbutil.run_break_set_by_file_and_line(self, "main.cpp", self.line, num_expected_locations=1,loc_exact=False)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
# runCmd: expression 'a'
# output: (char) $0 = 'a'
diff --git a/lldb/test/expression_command/test/TestExprs2.py b/lldb/test/expression_command/test/TestExprs2.py
index daa5cd4..1fdb787 100644
--- a/lldb/test/expression_command/test/TestExprs2.py
+++ b/lldb/test/expression_command/test/TestExprs2.py
@@ -27,7 +27,7 @@
lldbutil.run_break_set_by_file_and_line(self, "main.cpp", self.line, num_expected_locations=1,loc_exact=False)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
# Does static casting work?
self.expect("expression (int*)argv",
diff --git a/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py b/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
index daff33a..9f3a18d 100644
--- a/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
+++ b/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
@@ -40,7 +40,7 @@
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
# Now do a NSArry type query from the 'main.m' compile uint.
self.expect("expression (NSArray*)array_token",