[Lldb-commits] [PATCH] Add a test for expression evaluation while inferior is blocked in a syscall
Tamas Berghammer
tberghammer at google.com
Wed Jun 17 15:18:39 PDT 2015
================
Comment at: test/expression_command/expr-in-syscall/TestExpressionInSyscall.py:53
@@ +52,3 @@
+
+ # give the child enough time to reach the syscall
+ # clearing out all the pending events
----------------
What gives time to the inferior to reach the syscall?
Should we add a sleep(1) here?
================
Comment at: test/expression_command/expr-in-syscall/TestExpressionInSyscall.py:56
@@ +55,3 @@
+ while listener.WaitForEvent(2, event):
+ True
+
----------------
(nit): The "idiomatic" way for this is to use the "pass" keyword
http://reviews.llvm.org/D10519
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list