<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/test/py/u_boot_console_base.py, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2018-12-07T13:13:51Z</updated>
<entry>
<title>spl/tpl: change banner into upper case</title>
<updated>2018-12-07T13:13:51Z</updated>
<author>
<name>Heiko Schocher</name>
</author>
<published>2018-12-05T10:29:54Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=8fb2391ea68f979f559dadd97c73201c957fae5d'/>
<id>urn:sha1:8fb2391ea68f979f559dadd97c73201c957fae5d</id>
<content type='text'>
commit d6330064634a ("spl: Add a define for SPL_TPL_PROMPT")

changes the SPL/TPL banner from upper case into lower
case. As SPL and TPL are three-letter acronyms and they
are written in upper case, change it back to upper case.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>spl: Add a define for SPL_TPL_PROMPT</title>
<updated>2018-11-26T13:25:34Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-11-16T01:43:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=d6330064634aa698c0a686002ceeb19b3de0d71f'/>
<id>urn:sha1:d6330064634aa698c0a686002ceeb19b3de0d71f</id>
<content type='text'>
We should use a macro rather than hard-coding the SPL prompt to 'spl'
since the code can be used by TPL too. Add a macro that works for both
and use it in various places.

This allows TPL to use the same code without printing confusing messages.

Note that the string is lower case ('spl', 'tpl') which is a change from
previously.

Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test/py: ignore console read exceptions after test failure</title>
<updated>2018-10-06T13:04:18Z</updated>
<author>
<name>Stephen Warren</name>
</author>
<published>2018-09-20T22:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=dddea0d0d72e45f60fadddd45e22e30065bd010f'/>
<id>urn:sha1:dddea0d0d72e45f60fadddd45e22e30065bd010f</id>
<content type='text'>
After a test has failed, test/py drains the U-Boot console log to ensure
that any relevant output is captured. At this point, we don't care about
detecting any additional errors, since the test is already known to have
failed, and U-Boot will be restarted. To ensure that the test cleanup code
is not interrupted, and can correctly terminate the log sections for the
failed test, ignore any exception that occurs while reading the U-Boot
console output during this limited period of time.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>test/py: add timestamps to log</title>
<updated>2017-11-17T12:44:13Z</updated>
<author>
<name>Stephen Warren</name>
</author>
<published>2017-10-27T17:04:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=9679d339ad2d4c495d734bad3a0fb7be6c4215eb'/>
<id>urn:sha1:9679d339ad2d4c495d734bad3a0fb7be6c4215eb</id>
<content type='text'>
It can be useful to record how long tests take; this can help debug slow
running test systems or track changes in performance over time. Enhance
the test system to record timestamps while running test:
- Whenever a new log file section is started.
- After U-Boot is started and communication has been established.
- After each host or U-Boot command is executed.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>test/py: u_boot_console_base.py: fix typo</title>
<updated>2017-09-15T12:05:12Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2017-09-14T10:27:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=cd3e8a72a6fb1fe758c5f73b394527609afe26cc'/>
<id>urn:sha1:cd3e8a72a6fb1fe758c5f73b394527609afe26cc</id>
<content type='text'>
run_command does not have a parameter wait_for_each.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>test/py: match prompt only at line boundaries</title>
<updated>2016-08-20T18:03:24Z</updated>
<author>
<name>Stephen Warren</name>
</author>
<published>2016-08-17T01:58:59Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=4ba58bdabd0ad8356401e5221e8377ebd412362d'/>
<id>urn:sha1:4ba58bdabd0ad8356401e5221e8377ebd412362d</id>
<content type='text'>
This prevents capture of command output from terminating early on boards
that use a simple prompt (e.g. "=&gt; ") that appears in the middle of
command output (e.g. crc32's "... ==&gt; 2fa737e0").

Reported-by: Tom Rini &lt;trini@konsulko.com&gt;
Signed-off-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Tested-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>test: Adjust run_command_list() to return a list of strings</title>
<updated>2016-08-06T00:55:23Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-07-31T23:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=f6d34651d8a21514abbfa32f44a0ec2014ef002b'/>
<id>urn:sha1:f6d34651d8a21514abbfa32f44a0ec2014ef002b</id>
<content type='text'>
Return one string for each command that was executed. This seems cleaner.

Suggested-by: Teddy Reed &lt;teddy.reed@gmail.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>test: Add a function to restart U-Boot</title>
<updated>2016-08-06T00:55:22Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-07-31T23:35:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=27c087d58ab703f15211629abfa4a47f19974b9e'/>
<id>urn:sha1:27c087d58ab703f15211629abfa4a47f19974b9e</id>
<content type='text'>
Add a proper function for this rather than using internal functions. Use it
in the single call site.

Also, do a restart at the end of the vboot test to reset to the normal
device tree.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Suggested-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>test: Fix typos in comments</title>
<updated>2016-08-06T00:55:20Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-07-31T23:35:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=72f52268942c3500b1a15db5e59ab406b58a9260'/>
<id>urn:sha1:72f52268942c3500b1a15db5e59ab406b58a9260</id>
<content type='text'>
Fix some typos in various files introduced with the vboot test conversion.

Reported-by: Teddy Reed &lt;teddy.reed@gmail.com&gt;

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