<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/tools/patman, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2018-10-08T13:34:34Z</updated>
<entry>
<title>binman: Run tests concurrently</title>
<updated>2018-10-08T13:34:34Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-10-02T03:12:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=11ae93eef40c09280f36104b6a8cf5d807f0bb0d'/>
<id>urn:sha1:11ae93eef40c09280f36104b6a8cf5d807f0bb0d</id>
<content type='text'>
At present the tests run one after the other using a single CPU. This is
not very efficient. Bring in the concurrencytest module and run the tests
concurrently, using one process for each CPU by default. A -P option
allows this to be overridden, which is necessary for code-coverage to
function correctly.

This requires fixing a few tests which are currently not fully
independent.

At some point we might consider doing this across all pytests in U-Boot.
There is a pytest version that supports specifying the number of processes
to use, but it did not work for me.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Don't clear progress in tout unless it was used</title>
<updated>2018-10-08T13:34:34Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-10-02T03:12:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=008b03000935c397fd604cc62a6813bcd72a30fc'/>
<id>urn:sha1:008b03000935c397fd604cc62a6813bcd72a30fc</id>
<content type='text'>
At present calling Uninit() always called ClearProgress() which outputs
a \r character as well as spaces to remove any progress information on the
line. This can mess up the normal output of binman and other tools. Fix
this by outputing this only when progress information has actually been
previous written.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>tools: Set an initial value for indir</title>
<updated>2018-10-08T13:34:34Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-10-02T03:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=1fda18205ff425d00faad57dc2ad69995cdbd15d'/>
<id>urn:sha1:1fda18205ff425d00faad57dc2ad69995cdbd15d</id>
<content type='text'>
This variable is not documented or set up in the module. Fix this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Handle unicode in _ProjectConfigParser tests</title>
<updated>2018-10-08T13:34:34Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-10-02T03:12:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=ec9e0f471291233491d1bd213d32bb259821da95'/>
<id>urn:sha1:ec9e0f471291233491d1bd213d32bb259821da95</id>
<content type='text'>
With Python 2.7.15rc1, ConfigParser.SafeConfigParser has unfortunately
started returning unicode, for unknown reasons. Adjust the code to handle
this by converting everything to unicode. We cannot convert things to
ASCII since email addresses may be encoded with UTF-8.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Support adding files</title>
<updated>2018-09-29T17:49:35Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-09-14T10:57:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=0a98b28b06800da48f006069fe14e47dd399d2ff'/>
<id>urn:sha1:0a98b28b06800da48f006069fe14e47dd399d2ff</id>
<content type='text'>
In some cases it is useful to add a group of files to the image and be
able to access them at run-time. Of course it is possible to generate
the binman config file with a set of blobs each with a filename. But for
convenience, add an entry type which can do this.

Add required support (for adding nodes and string properties) into the
state module.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Detect missing tools and report them</title>
<updated>2018-09-28T17:09:01Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-09-14T10:57:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=04187a845c86215da0e3ad680cdcf2fc7515b99a'/>
<id>urn:sha1:04187a845c86215da0e3ad680cdcf2fc7515b99a</id>
<content type='text'>
When tools are needed but not present, at present we just get an error
which can be confusing for the user. Try to be helpful by reporting the
tool as missing and suggesting a possible remedy.

Also update the Run() method to support this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Correct unit test failure</title>
<updated>2018-08-08T11:49:36Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-07-26T20:28:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=41d7535cba42cd88f3b04f8fbd4409e5a479076f'/>
<id>urn:sha1:41d7535cba42cd88f3b04f8fbd4409e5a479076f</id>
<content type='text'>
A recent rename of the function did not rename the test file. Fix this.

Fixes: 12308b128fa (lib: fdtdec: Rename routine fdtdec_setup_memory_size())

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Show the current directory in GetInputFilename()</title>
<updated>2018-08-01T22:30:48Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-07-17T19:25:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=4f5dea4543f2b7ebea803fe9b176abf5b637d988'/>
<id>urn:sha1:4f5dea4543f2b7ebea803fe9b176abf5b637d988</id>
<content type='text'>
When this fails it is useful to see the current directory, since U-Boot's
build system will typically change into the output directory during the
build. Add this information to the error.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Add a few more helpers to the tools library</title>
<updated>2018-08-01T22:30:48Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-07-17T19:25:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=aeffc5e95627a788c328cb92f82ad9a38d792ed8'/>
<id>urn:sha1:aeffc5e95627a788c328cb92f82ad9a38d792ed8</id>
<content type='text'>
Add functions to read and write a file, looking through a list of search
paths to find it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>patman: Allow test commands to fall back to real ones</title>
<updated>2018-08-01T22:30:48Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-07-17T19:25:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=2b19321ef9cdc77e00c4d063330e2a4a6818c4fc'/>
<id>urn:sha1:2b19321ef9cdc77e00c4d063330e2a4a6818c4fc</id>
<content type='text'>
Tests use the 'test_result' feature to return a predetermined command
result for particular commands. The avoids needing to have the real
command available just to run a test. It works by calling the function
provided by the test, to get the value.

However sometimes the test does need to run the real command. Allow it to
fall back to do this when the function does not return a result.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
