[U-Boot] [PATCH] test/py: Add dependency on HUSH parser

Michal Simek monstr at monstr.eu
Wed Nov 15 09:34:07 UTC 2017


Hi,

On 10.11.2017 22:34, Stephen Warren wrote:
> On 11/10/2017 04:01 AM, Michal Simek wrote:
>> After adding our small zynq uboot which has hush parser off these 3 tests
>> start to failed. It is probably just coincidence that others are
>> passing without hush parser.
> 
> What was the exact problem here? The set of tests you've disabled all
> seem to rely on setenv/printenv and don't seem to do anything
> complicated shell syntax wise. Are you sure they shouldn't depend on
> setenv being available rather than hush_parser?

These 3 tests. (html attached too.)

Zynq> printenv baudrate
baudrate=115200
Zynq>
test/py/tests/test_env.py .sZynq> printenv test_env_0
## Error: "test_env_0" not defined
Zynq> .sZynq> setenv test_env_0 "foo"
Zynq> printenv test_env_0
test_env_0="foo"
Zynq> F+u-boot-test-reset zynq_cse_qspi zc706



Zynq> Zynq> setenv test_env_0 "bar"
Zynq> printenv test_env_0
test_env_0="bar"
Zynq> Fs+u-boot-test-reset zynq_cse_qspi zc706

Zynq> Zynq> setenv test_env_1 " "
Zynq> setenv test_env_2 " 1${test_env_1}${test_env_1} 2 "
Zynq> printenv test_env_2
test_env_2=" 1" "" " 2 "
Zynq> setenv test_env_1
Zynq> setenv test_env_2
Zynq> F


Here is the branch with zynq_cse_qpsi configs which is minimum full
u-boot configuration running from on chip memory used for qspi programming.
http://git.denx.de/?p=u-boot/u-boot-microblaze.git;a=shortlog;h=refs/heads/for-stephen

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiplexed_log.css
Type: text/css
Size: 1316 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171115/f711b6e4/attachment.css>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171115/f711b6e4/attachment.sig>


More information about the U-Boot mailing list