diff options
Diffstat (limited to 'lldb/test/functionalities/thread/step_out')
| -rw-r--r-- | lldb/test/functionalities/thread/step_out/TestThreadStepOut.py | 6 | ||||
| -rw-r--r-- | lldb/test/functionalities/thread/step_out/main.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py b/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py index 436a03abc39..be894fdee37 100644 --- a/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py +++ b/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py @@ -56,10 +56,10 @@ class ThreadStepOutTestCase(TestBase): TestBase.setUp(self) # Find the line number for our breakpoint. self.breakpoint = line_number('main.cpp', '// Set breakpoint here') - if "clang" in self.getCompiler(): - self.step_out_destination = line_number('main.cpp', '// Expect to stop here after step-out (clang)') + if any([x in self.getCompiler() for x in ["gcc", "icpc", "icl"]]): + self.step_out_destination = line_number('main.cpp', '// Expect to stop here after step-out (icc and gcc)') else: - self.step_out_destination = line_number('main.cpp', '// Expect to stop here after step-out (gcc)') + self.step_out_destination = line_number('main.cpp', '// Expect to stop here after step-out (clang)') def step_out_single_thread_with_cmd(self): self.step_out_with_cmd("this-thread") diff --git a/lldb/test/functionalities/thread/step_out/main.cpp b/lldb/test/functionalities/thread/step_out/main.cpp index f6a9732903b..eb390d5de2e 100644 --- a/lldb/test/functionalities/thread/step_out/main.cpp +++ b/lldb/test/functionalities/thread/step_out/main.cpp @@ -43,7 +43,7 @@ thread_func (void *input) step_out_of_here(); // Expect to stop here after step-out (clang) // Return - return NULL; // Expect to stop here after step-out (gcc) + return NULL; // Expect to stop here after step-out (icc and gcc) } int main () |

