Author: dmalea
Date: Mon Sep 30 17:54:27 2013
New Revision: 191708

URL: http://llvm.org/viewvc/llvm-project?rev=191708&view=rev
Log:
Fix race condition in TestConvenienceVariables.py
- test wasn't checking for a stop reason before issuing the 'script' command
- should resolve intermittent failure on the Linux GCC buildbot


Modified:
    
lldb/trunk/test/functionalities/embedded_interpreter/TestConvenienceVariables.py

Modified: 
lldb/trunk/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/embedded_interpreter/TestConvenienceVariables.py?rev=191708&r1=191707&r2=191708&view=diff
==============================================================================
--- 
lldb/trunk/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
 (original)
+++ 
lldb/trunk/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
 Mon Sep 30 17:54:27 2013
@@ -49,6 +49,7 @@ class ConvenienceVariablesCase(TestBase)
         child.sendline('breakpoint set -f main.c -l %d' % self.line)
         child.expect_exact(prompt)
         child.sendline('run')
+        child.expect_exact("stop reason = breakpoint 1.1")
         child.expect_exact(prompt)
         child.sendline('script')
         child.expect_exact(python_prompt)


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to