diff options
author | Pavel Labath <labath@google.com> | 2017-05-04 10:11:33 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-05-04 10:11:33 +0000 |
commit | 4f1f64174b28f58c15d12067e50929b2c9c826d2 (patch) | |
tree | 0427964b3461e67f4994d801bc130dde8d79b032 /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp | |
parent | 185946387635a6776ed813ba909f54a1be773327 (diff) | |
download | bcm5719-llvm-4f1f64174b28f58c15d12067e50929b2c9c826d2.tar.gz bcm5719-llvm-4f1f64174b28f58c15d12067e50929b2c9c826d2.zip |
MainLoop: Add unit tests
Summary:
This adds a couple of unit tests to the MainLoop class. To get the
kqueue based version of the signal handling passing, I needed to
modify the implementation a bit to make the queue object persistent.
Otherwise, only the signals which are send during the Run call would get
processed, which did not match the ppoll behaviour.
I also took the opportunity to remove the ForEach template functions and
replace them with something more reasonable.
Reviewers: beanz, eugene
Subscribers: lldb-commits, mgorny
Differential Revision: https://reviews.llvm.org/D32753
llvm-svn: 302133
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp')
0 files changed, 0 insertions, 0 deletions