summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/c
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/c')
-rw-r--r--lldb/test/lang/c/array_types/TestArrayTypes.py2
-rw-r--r--lldb/test/lang/c/bitfields/TestBitfields.py2
-rw-r--r--lldb/test/lang/c/blocks/TestBlocks.py4
-rw-r--r--lldb/test/lang/c/const_variables/TestConstVariables.py2
-rw-r--r--lldb/test/lang/c/enum_types/TestEnumTypes.py2
-rw-r--r--lldb/test/lang/c/forward/TestForwardDeclaration.py2
-rw-r--r--lldb/test/lang/c/function_types/TestFunctionTypes.py2
-rw-r--r--lldb/test/lang/c/modules/TestCModules.py2
-rw-r--r--lldb/test/lang/c/register_variables/TestRegisterVariables.py2
-rw-r--r--lldb/test/lang/c/set_values/TestSetValues.py2
-rw-r--r--lldb/test/lang/c/stepping/TestThreadStepping.py2
-rw-r--r--lldb/test/lang/c/strings/TestCStrings.py2
-rw-r--r--lldb/test/lang/c/tls_globals/TestTlsGlobals.py4
13 files changed, 15 insertions, 15 deletions
diff --git a/lldb/test/lang/c/array_types/TestArrayTypes.py b/lldb/test/lang/c/array_types/TestArrayTypes.py
index e5fdf291b16..994d24a6943 100644
--- a/lldb/test/lang/c/array_types/TestArrayTypes.py
+++ b/lldb/test/lang/c/array_types/TestArrayTypes.py
@@ -51,7 +51,7 @@ class ArrayTypesTestCase(TestBase):
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, num_expected_locations=1, loc_exact=False)
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The test suite sometimes shows that the process has exited without stopping.
#
diff --git a/lldb/test/lang/c/bitfields/TestBitfields.py b/lldb/test/lang/c/bitfields/TestBitfields.py
index 15d33057abd..495660bb541 100644
--- a/lldb/test/lang/c/bitfields/TestBitfields.py
+++ b/lldb/test/lang/c/bitfields/TestBitfields.py
@@ -54,7 +54,7 @@ class BitfieldsTestCase(TestBase):
# Break inside the main.
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, num_expected_locations=1, loc_exact=True)
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
diff --git a/lldb/test/lang/c/blocks/TestBlocks.py b/lldb/test/lang/c/blocks/TestBlocks.py
index 1a247e90451..7fac63e0bb3 100644
--- a/lldb/test/lang/c/blocks/TestBlocks.py
+++ b/lldb/test/lang/c/blocks/TestBlocks.py
@@ -43,9 +43,9 @@ class BlocksTestCase(TestBase):
def wait_for_breakpoint(self):
if self.is_started == False:
self.is_started = True
- self.runCmd("process launch", RUN_SUCCEEDED)
+ self.runCmd("process launch", RUN_FAILED)
else:
- self.runCmd("process continue", RUN_SUCCEEDED)
+ self.runCmd("process continue", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
diff --git a/lldb/test/lang/c/const_variables/TestConstVariables.py b/lldb/test/lang/c/const_variables/TestConstVariables.py
index a3a031e5087..456b03e91ae 100644
--- a/lldb/test/lang/c/const_variables/TestConstVariables.py
+++ b/lldb/test/lang/c/const_variables/TestConstVariables.py
@@ -36,7 +36,7 @@ class ConstVariableTestCase(TestBase):
# Break inside the main.
lldbutil.run_break_set_by_symbol (self, "main", num_expected_locations=1)
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
diff --git a/lldb/test/lang/c/enum_types/TestEnumTypes.py b/lldb/test/lang/c/enum_types/TestEnumTypes.py
index 7ca36e1c236..6844f2312b2 100644
--- a/lldb/test/lang/c/enum_types/TestEnumTypes.py
+++ b/lldb/test/lang/c/enum_types/TestEnumTypes.py
@@ -39,7 +39,7 @@ class EnumTypesTestCase(TestBase):
# Break inside the main.
bkpt_id = lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, num_expected_locations=1, loc_exact=True)
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
diff --git a/lldb/test/lang/c/forward/TestForwardDeclaration.py b/lldb/test/lang/c/forward/TestForwardDeclaration.py
index 6fb0eb9645a..bc1388d8006 100644
--- a/lldb/test/lang/c/forward/TestForwardDeclaration.py
+++ b/lldb/test/lang/c/forward/TestForwardDeclaration.py
@@ -35,7 +35,7 @@ class ForwardDeclarationTestCase(TestBase):
# Break inside the foo function which takes a bar_ptr argument.
lldbutil.run_break_set_by_symbol (self, "foo", num_expected_locations=1, sym_exact=True)
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
diff --git a/lldb/test/lang/c/function_types/TestFunctionTypes.py b/lldb/test/lang/c/function_types/TestFunctionTypes.py
index 9863e05e876..4d69f8ce45d 100644
--- a/lldb/test/lang/c/function_types/TestFunctionTypes.py
+++ b/lldb/test/lang/c/function_types/TestFunctionTypes.py
@@ -49,7 +49,7 @@ class FunctionTypesTestCase(TestBase):
# Break inside the main.
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, num_expected_locations=1, loc_exact=True)
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
diff --git a/lldb/test/lang/c/modules/TestCModules.py b/lldb/test/lang/c/modules/TestCModules.py
index 9bec4c5f32c..3109050e5a0 100644
--- a/lldb/test/lang/c/modules/TestCModules.py
+++ b/lldb/test/lang/c/modules/TestCModules.py
@@ -48,7 +48,7 @@ class CModulesTestCase(TestBase):
# Break inside the foo function which takes a bar_ptr argument.
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, num_expected_locations=1, loc_exact=True)
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
diff --git a/lldb/test/lang/c/register_variables/TestRegisterVariables.py b/lldb/test/lang/c/register_variables/TestRegisterVariables.py
index 2c45793a9c7..c35497c3b7c 100644
--- a/lldb/test/lang/c/register_variables/TestRegisterVariables.py
+++ b/lldb/test/lang/c/register_variables/TestRegisterVariables.py
@@ -40,7 +40,7 @@ class RegisterVariableTestCase(TestBase):
####################
# First breakpoint
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
diff --git a/lldb/test/lang/c/set_values/TestSetValues.py b/lldb/test/lang/c/set_values/TestSetValues.py
index f914cfae8c3..7f9f12b9ee6 100644
--- a/lldb/test/lang/c/set_values/TestSetValues.py
+++ b/lldb/test/lang/c/set_values/TestSetValues.py
@@ -49,7 +49,7 @@ class SetValuesTestCase(TestBase):
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line5, num_expected_locations=1, loc_exact=True)
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
diff --git a/lldb/test/lang/c/stepping/TestThreadStepping.py b/lldb/test/lang/c/stepping/TestThreadStepping.py
index 13c8ce88ddc..69ede5f9397 100644
--- a/lldb/test/lang/c/stepping/TestThreadStepping.py
+++ b/lldb/test/lang/c/stepping/TestThreadStepping.py
@@ -44,7 +44,7 @@ class ThreadSteppingTestCase(TestBase):
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line1, num_expected_locations=1, loc_exact=True)
# Now run the program.
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The process should be stopped at this point.
self.expect("process status", PROCESS_STOPPED,
diff --git a/lldb/test/lang/c/strings/TestCStrings.py b/lldb/test/lang/c/strings/TestCStrings.py
index ee6348160f9..fd2b1a06b06 100644
--- a/lldb/test/lang/c/strings/TestCStrings.py
+++ b/lldb/test/lang/c/strings/TestCStrings.py
@@ -34,7 +34,7 @@ class CStringsTestCase(TestBase):
self.set_breakpoint(line_number('main.c', '// breakpoint 1'))
- self.runCmd("process launch", RUN_SUCCEEDED)
+ self.runCmd("process launch", RUN_FAILED)
self.expect("expression -- a[2]",
patterns = ["\((const )?char\) \$0 = 'c'"])
diff --git a/lldb/test/lang/c/tls_globals/TestTlsGlobals.py b/lldb/test/lang/c/tls_globals/TestTlsGlobals.py
index f0165e77c62..87497dd4fa4 100644
--- a/lldb/test/lang/c/tls_globals/TestTlsGlobals.py
+++ b/lldb/test/lang/c/tls_globals/TestTlsGlobals.py
@@ -44,7 +44,7 @@ class TlsGlobalTestCase(TestBase):
line1 = line_number('main.c', '// thread breakpoint')
lldbutil.run_break_set_by_file_and_line (self, "main.c", line1, num_expected_locations=1, loc_exact=True)
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.runCmd("process status", "Get process status")
@@ -65,7 +65,7 @@ class TlsGlobalTestCase(TestBase):
# Continue on the main thread
line2 = line_number('main.c', '// main breakpoint')
lldbutil.run_break_set_by_file_and_line (self, "main.c", line2, num_expected_locations=1, loc_exact=True)
- self.runCmd("continue", RUN_SUCCEEDED)
+ self.runCmd("continue", RUN_FAILED)
# The stop reason of the thread should be breakpoint.
self.runCmd("process status", "Get process status")
OpenPOWER on IntegriCloud