<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Alex, you seem to be on the cutting edge of unusual uses of
coverage.py! When you say you have the data in memory, what does
that mean exactly?<br>
<br>
It sounds like what you need is a refactoring of
coverage/data.py:CoverageData.combine_parallel_data to allow you to
feed data into a combining step.<br>
<br>
--Ned.<br>
<br>
<div class="moz-cite-prefix">On 6/1/2013 4:16 PM, Alex Gaynor wrote:<br>
</div>
<blockquote
cite="mid:CAFRnB2Xh3b9Rvgi7sfJSyPYU0SqMbZCMyzaiFQbMk1u=RPVk4g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I'm looking to merge some coverage results from different
CI runs, I see coverage.py has a combine option which
basically does what I want. However, I have an interesting
constraint! I don't have a disk, I just have the .coverage
data loaded up in memory. The format looks pretty simple, so I
bet I could write a merger myself, but I wonder if there's a
programmatic API that would do it for me? I traced through the
code, and it doesn't look like there's one that I could easily
use, but perhaps I missed something!</div>
<div><br>
</div>
<div>Alex<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">"I disapprove of what you say, but I will
defend to the death your right to say it." -- Evelyn
Beatrice Hall (summarizing Voltaire)<br>
"The people's good is the highest law." -- Cicero<br>
<div>GPG Key fingerprint: 125F 5C67 DFE9 4084</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
testing-in-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a>
<a class="moz-txt-link-freetext" href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinfo/testing-in-python</a>
</pre>
</blockquote>
<br>
</body>
</html>