summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-08-06 15:00:23 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-08-06 15:00:23 +0000
commit14b3d361f85889f314fa574f0c6948641bf25cc3 (patch)
tree526ecf18ce68780827643018cd5e6730022a55d4 /lldb/test/functionalities/thread/step_out/TestThreadStepOut.py
parentdebe686f05d383b4cc8b8cf0760423195152a5bd (diff)
downloadbcm5719-llvm-14b3d361f85889f314fa574f0c6948641bf25cc3.tar.gz
bcm5719-llvm-14b3d361f85889f314fa574f0c6948641bf25cc3.zip
Test compatibility improvements for ICC
- update TestThreadStepOut.py to work with Intel compilers - fix typo in TestConcurrentEvents llvm-svn: 187801
Diffstat (limited to 'lldb/test/functionalities/thread/step_out/TestThreadStepOut.py')
-rw-r--r--lldb/test/functionalities/thread/step_out/TestThreadStepOut.py6
1 files changed, 3 insertions, 3 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")
OpenPOWER on IntegriCloud