<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/test/py, branch v2020.10-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/test/py?h=v2020.10-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/test/py?h=v2020.10-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-08-10T14:37:50Z</updated>
<entry>
<title>test/py: fix SquashFS tests</title>
<updated>2020-08-10T14:37:50Z</updated>
<author>
<name>Joao Marcos Costa</name>
<email>joaomarcos.costa@bootlin.com</email>
</author>
<published>2020-08-10T12:37:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=74795f1e35b624cdba451aeaea0af2f1211e4a91'/>
<id>urn:sha1:74795f1e35b624cdba451aeaea0af2f1211e4a91</id>
<content type='text'>
Use "cons.config.build_dir" instead of writing to the source directory
(read-only). This will fix the test failures in Azure.

Signed-off-by: Joao Marcos Costa &lt;joaomarcos.costa@bootlin.com&gt;
</content>
</entry>
<entry>
<title>test/py: serial# cannot be overwritten on some devices</title>
<updated>2020-08-08T12:31:39Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2020-08-07T21:11:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=38ee01e4ddf7cca53fcf6585dd00373246b4df40'/>
<id>urn:sha1:38ee01e4ddf7cca53fcf6585dd00373246b4df40</id>
<content type='text'>
On some devices the environment variable serial# cannot be overwritten.
Set the variable only if it is not set.

For our unit test it is sufficient to test if any value for serial-number
is set.

Fixes: 8a5cdf601f8d ("test: efi_selftest: Do not force serial# setting")
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>test: py: test_shell_run() with CONFIG_HUSH_PARSER=n</title>
<updated>2020-08-08T02:31:32Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2020-08-05T16:31:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=acb021e48c619b49029102acc781e904c6471c86'/>
<id>urn:sha1:acb021e48c619b49029102acc781e904c6471c86</id>
<content type='text'>
The hush parser not enabled for some boards, e.g.
sipeed_maix_bitm_defconfig.

With CONFIG_HUSH_PARSER=n a double quotation mark is not interpreted as the
beginning of a string. Use a single quotation mark instead.

Furthermore without the hush parser variables have to be referenced as
${varname}. Add the missing braces.

Reported-by: Sean Anderson &lt;seanga2@gmail.com&gt;
Fixes: 8b86c609b860 ("test/py: add test of basic shell functionality")
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>tests: support mkfs.ext4 without metadata_csum</title>
<updated>2020-08-08T02:31:32Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2020-08-04T17:28:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cc886253704424f2a332dade72dc1853e78bca04'/>
<id>urn:sha1:cc886253704424f2a332dade72dc1853e78bca04</id>
<content type='text'>
Modify various test/py filesystem creation routines to support systems
that don't implement the metadata_csum ext4 feature.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>test/py: Add tests for the SquashFS commands</title>
<updated>2020-08-08T02:31:32Z</updated>
<author>
<name>Joao Marcos Costa</name>
<email>joaomarcos.costa@bootlin.com</email>
</author>
<published>2020-07-30T13:33:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f428e33b6bd7d01dc488534f59f56c4907c76b2f'/>
<id>urn:sha1:f428e33b6bd7d01dc488534f59f56c4907c76b2f</id>
<content type='text'>
Add Python scripts to test 'ls' and 'load' commands. The scripts
generate a SquashFS image and clean the directory after the assertions,
or if an exception is raised.

Signed-off-by: Joao Marcos Costa &lt;joaomarcos.costa@bootlin.com&gt;
</content>
</entry>
<entry>
<title>test/py: Add test support for three stage boot</title>
<updated>2020-08-05T03:30:02Z</updated>
<author>
<name>Yan Liu</name>
<email>yan-liu@ti.com</email>
</author>
<published>2020-07-21T15:12:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c9db1a103cfc6ee4edb75820035a53368ceb01a3'/>
<id>urn:sha1:c9db1a103cfc6ee4edb75820035a53368ceb01a3</id>
<content type='text'>
Current pytest only support upto 2 stage boot;
Some boards like TI K3 am6/J7 boards use 3 stage
boot. This patch adds u_boot_spl2 to be able to
handle the 3-stage boot case. User needs to set
"env__spl2_skipped" in u_boot_boardenv config
file to use this support. By default it is set
to TRUE.

Signed-off-by: Yan Liu &lt;yan-liu@ti.com&gt;
Signed-off-by: Yan Liu &lt;yan-liu@ti.com&gt;
</content>
</entry>
<entry>
<title>test: sandbox: add test for erase command</title>
<updated>2020-07-31T14:13:00Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@st.com</email>
</author>
<published>2020-07-28T09:51:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ef5cc2e5c6f0fe36832230c23aa2e2d8c0764caf'/>
<id>urn:sha1:ef5cc2e5c6f0fe36832230c23aa2e2d8c0764caf</id>
<content type='text'>
Add test for the erase command tested on ENV in EXT4.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>test: environment in ext4</title>
<updated>2020-07-31T14:13:00Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@st.com</email>
</author>
<published>2020-07-28T09:51:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ad04576b2754a41879d5aef6351945fd7ce9353b'/>
<id>urn:sha1:ad04576b2754a41879d5aef6351945fd7ce9353b</id>
<content type='text'>
Add basic test to persistent environment in ext4:
save and load in host ext4 file 'uboot.env'.

On first execution an empty EXT4 file system is created in
persistent data dir: env.ext4.img.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>test: efi_selftest: Do not force serial# setting</title>
<updated>2020-07-31T14:13:00Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2020-07-31T13:45:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8a5cdf601f8da6704c9146a253c1bcbfcd0e6286'/>
<id>urn:sha1:8a5cdf601f8da6704c9146a253c1bcbfcd0e6286</id>
<content type='text'>
As part of the EFI self test we set and check the serial# variable.
However, we should not be forcing this setting.  In the case where we
are allowed to change the variable it will change, and we will pass the
test.  In the case where we cannot change it, force may or may not be
allowed, depending on further environment restrictions.  Drop the -f
flag here as we do not need it.

Cc: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>test: do not rely on =&gt; being the prompt</title>
<updated>2020-07-31T12:44:41Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2020-07-24T18:55:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=87438b5e14b5737ad7544b2ca24192c692e000ef'/>
<id>urn:sha1:87438b5e14b5737ad7544b2ca24192c692e000ef</id>
<content type='text'>
In our tests we should use the customized prompt for testing.

Reported-by: Tom Rini &lt;trini@konsulko.com&gt;
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Tested-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
