summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2015-07-01 23:56:30 +0000
committerSean Callanan <scallanan@apple.com>2015-07-01 23:56:30 +0000
commit05834cd2adac6a9c3a69a137075bb9dcdce07373 (patch)
tree7b75c3f42c8188bb273f90bf87695ad2d24b31ac /lldb/test/expression_command
parent03855df197944840745afd1180ebf423c7050c3c (diff)
downloadbcm5719-llvm-05834cd2adac6a9c3a69a137075bb9dcdce07373.tar.gz
bcm5719-llvm-05834cd2adac6a9c3a69a137075bb9dcdce07373.zip
Reversed r238363, because the message is inconsistent
with all the other assertion messages. llvm-svn: 241212
Diffstat (limited to 'lldb/test/expression_command')
-rw-r--r--lldb/test/expression_command/call-function/TestCallStdStringFunction.py2
-rw-r--r--lldb/test/expression_command/call-function/TestCallStopAndContinue.py2
-rw-r--r--lldb/test/expression_command/formatters/TestFormatters.py2
-rw-r--r--lldb/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py2
-rw-r--r--lldb/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py2
-rw-r--r--lldb/test/expression_command/persistent_types/TestPersistentTypes.py2
-rw-r--r--lldb/test/expression_command/persistent_variables/TestPersistentVariables.py2
-rw-r--r--lldb/test/expression_command/po_verbosity/TestPoVerbosity.py2
-rw-r--r--lldb/test/expression_command/radar_8638051/Test8638051.py2
-rw-r--r--lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py2
-rw-r--r--lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py2
-rw-r--r--lldb/test/expression_command/test/TestExprs.py4
-rw-r--r--lldb/test/expression_command/test/TestExprs2.py2
-rw-r--r--lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py2
14 files changed, 15 insertions, 15 deletions
diff --git a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
index 6f1022e4584..c36577a5413 100644
--- a/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
+++ b/lldb/test/expression_command/call-function/TestCallStdStringFunction.py
@@ -42,7 +42,7 @@ class ExprCommandCallFunctionTestCase(TestBase):
# 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 a012f994b7a..643ff082073 100644
--- a/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
+++ b/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
@@ -42,7 +42,7 @@ class ExprCommandCallStopContinueTestCase(TestBase):
# 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 0ca70346b2e..a6ba370a8d1 100644
--- a/lldb/test/expression_command/formatters/TestFormatters.py
+++ b/lldb/test/expression_command/formatters/TestFormatters.py
@@ -49,7 +49,7 @@ class ExprFormattersTestCase(TestBase):
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 41bf03cea62..9c8c3fe1e70 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 @@ class PersistObjCPointeeType(TestBase):
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 eb9e75dd110..9c291219529 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 @@ class PersistentPtrUpdateTestCase(TestBase):
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 06162c78c7f..ab25f4f9ee0 100644
--- a/lldb/test/expression_command/persistent_types/TestPersistentTypes.py
+++ b/lldb/test/expression_command/persistent_types/TestPersistentTypes.py
@@ -19,7 +19,7 @@ class PersistenttypesTestCase(TestBase):
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 91ac83659ce..8e7af009c6a 100644
--- a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
+++ b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
@@ -19,7 +19,7 @@ class PersistentVariablesTestCase(TestBase):
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 e68cf8559e3..dbb9daa8d04 100644
--- a/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py
+++ b/lldb/test/expression_command/po_verbosity/TestPoVerbosity.py
@@ -48,7 +48,7 @@ class PoVerbosityTestCase(TestBase):
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 09ddd106bbc..823c8e12113 100644
--- a/lldb/test/expression_command/radar_8638051/Test8638051.py
+++ b/lldb/test/expression_command/radar_8638051/Test8638051.py
@@ -19,7 +19,7 @@ class Radar8638051TestCase(TestBase):
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 506f0bd9139..cdc3e3c0733 100644
--- a/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
+++ b/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
@@ -21,7 +21,7 @@ class Radar9531204TestCase(TestBase):
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 cd0984dd696..568b14ad167 100644
--- a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
+++ b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
@@ -28,7 +28,7 @@ class Radar9673644TestCase(TestBase):
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 d20aa3059d4..a1f13dc41e1 100644
--- a/lldb/test/expression_command/test/TestExprs.py
+++ b/lldb/test/expression_command/test/TestExprs.py
@@ -41,7 +41,7 @@ class BasicExprCommandsTestCase(TestBase):
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 @@ class BasicExprCommandsTestCase(TestBase):
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 daa5cd4587d..1fdb787898a 100644
--- a/lldb/test/expression_command/test/TestExprs2.py
+++ b/lldb/test/expression_command/test/TestExprs2.py
@@ -27,7 +27,7 @@ class ExprCommands2TestCase(TestBase):
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 daff33a75be..9f3a18d6af0 100644
--- a/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
+++ b/lldb/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py
@@ -40,7 +40,7 @@ class ObjCTypeQueryTestCase(TestBase):
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",
OpenPOWER on IntegriCloud