<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - PythonSynthDataFormatterTestCase.test_with_dwarf_and_run_command has all 'expect' output on stdout/test log"
href="http://llvm.org/bugs/show_bug.cgi?id=20545">20545</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>PythonSynthDataFormatterTestCase.test_with_dwarf_and_run_command has all 'expect' output on stdout/test log
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>emaste@freebsd.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Test file:
test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
Initially lldb's output as handled by self.expect() is not sent to stdout /
test log. After executing
<span class="quote">> self.runCmd("script from fooSynthProvider import *")</span >
the output makes it through.
.=success F=fail E=error s=skipped x=expected-fail u=unexpected-success
<<< script command executed here >>>
(foo) f00_1 = (a = 0, fake_a = 16777216, r = 33)
(foo) f00_1 = (a = 0, fake_a = 16777216, r = 33)
(int) f00_1.fake_a = 16777216
(int) f00_1[1] = 16777216
This puts a lot of junk in the log, and confuses the buildbot parser, because
it tries to parse lines starting with "Category: " as test result codes. See
<a href="http://lab.llvm.org:8011/builders/lldb-x86_64-freebsd">http://lab.llvm.org:8011/builders/lldb-x86_64-freebsd</a>
output snippet:
error: cannot add filter for type foo when synthetic is defined in same
category!
error: cannot add synthetic for type foo when filter is defined in same
category!
(foo) f00_1 = (a = 0, fake_a = 16777216, r = 33)
(foo) f00_1 = (a = 0, fake_a = 16777216, r = 33)
(int) f00_1.fake_a = 16777216
(int) f00_1[1] = 16777216
(foo) f00_1 = fake_a=16777216
(foo) f00_1 = fake_a=16777216
Process 34682 stopped
(foo) f00_1 = (a = 1, fake_a = 16777216, r = 33)
(int) $0 = 280
(foo) f00_1 = (a = 280, fake_a = 16777217, r = 33)
(foo *) f00_ptr = 0x0000000801c06060 {
a = 12
fake_a = 218103808
r = 45
}
(foo) f00_1 = (a = 280, fake_a = 16777217, r = 33)
(foo *) f00_ptr = 0x0000000801c06060 {
a = 12
fake_a = 218103808
r = 45
}
(foo) f00_1 = (b = 1, j = 17)
(foo *) f00_ptr = 0x0000000801c06060 {
b = 13
j = 29
}
-----------------------
Category: objc (enabled)
-----------------------
Class: Generator at 0x804d9b320 - Class synthetic children
-----------------------
Category: CoreFoundation (enabled)
-----------------------
CFArrayRef: Generator at 0x804db1410 - NSArray synthetic children
CFDictionaryRef: Generator at 0x804db1910 - NSDictionary synthetic children
...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>