Author: mohit.bhakkad
Date: Mon Apr 18 00:27:42 2016
New Revision: 266589
URL: http://llvm.org/viewvc/llvm-project?rev=266589&view=rev
Log:
[LLDB][MIPS] Fix TestConcurrentEvents
Patch by Nitesh Jain
Reviewers: clayborg
Subscribers: jaydeep, bhushan, mohit.bhakkad, sagar
Differential Revision: ht
tfiala created this revision.
tfiala added reviewers: zturner, labath.
tfiala added a subscriber: lldb-commits.
Also addresses a PEP8 name violation, converting lldb_utils.OptionalWith to
lldb_utils.optional_with.
http://reviews.llvm.org/D19216
Files:
packages/Python/lldbsuite/test/dosep.py
tfiala created this revision.
tfiala added a reviewer: labath.
tfiala added a subscriber: lldb-commits.
Ensure all uses of a test filename in the test event infrastructure normalize
the test filename to end in the ".py" extension. Something here changed
recently such that normal code paths thro
tfiala added a comment.
The fix simply has the listener socket always send a byte, and the initiators
of the socket always wait for that byte before continuing. This ensures that
both cases where the sender is creating a socket and sending test events will
never exit the dosep.py main loop bef
tfiala created this revision.
tfiala added a reviewer: labath.
tfiala added a subscriber: lldb-commits.
The race boiled down to this:
If a test worker queue is able to run the test inferior and
clean up before the dosep.py listener socket is spun up, and
the worker queue is the last o