[PATCH] D48654: [lldbsuite] Fix TestBreakpointHitCount on Windows
Stella Stamenova via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 28 12:47:24 PDT 2018
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL335906: [lldbsuite] Fix TestBreakpointHitCount on Windows (authored by stella.stamenova, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D48654?vs=153104&id=153371#toc
Repository:
rL LLVM
https://reviews.llvm.org/D48654
Files:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
Index: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
@@ -42,7 +42,7 @@
"There should be a thread stopped due to breakpoint")
frame0 = thread.GetFrameAtIndex(0)
- self.assertEqual(frame0.GetFunctionName(), "a(int)");
+ self.assertTrue(frame0.GetFunctionName() == "a(int)" or frame0.GetFunctionName() == "int a(int)");
process.Continue()
self.assertEqual(process.GetState(), lldb.eStateExited)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48654.153371.patch
Type: text/x-patch
Size: 828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180628/02ffed1c/attachment.bin>
More information about the llvm-commits
mailing list