[U-Boot] [PATCH] test/py: Fix MMC/SD block write test dependency

Peng Fan peng.fan at nxp.com
Fri Aug 2 09:21:03 UTC 2019


> Subject: [PATCH] test/py: Fix MMC/SD block write test dependency
> 
> Test is using random command which has own Kconfig symbol CMD_RANDOM
> which already depends on CMD_MEMORY. That's why replace cmd_memory
> by cmd_random.
> 
> Fixes: 09da18deab8b ("test/py: add MMC/SD block write test")
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
> 
>  test/py/tests/test_mmc_wr.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/py/tests/test_mmc_wr.py b/test/py/tests/test_mmc_wr.py
> index 601279a6a4a3..7678c3c9c181 100644
> --- a/test/py/tests/test_mmc_wr.py
> +++ b/test/py/tests/test_mmc_wr.py
> @@ -35,7 +35,7 @@ env__mmc_wr_configs = (
> 
>  """
> 
> - at pytest.mark.buildconfigspec('cmd_mmc','cmd_memory')
> + at pytest.mark.buildconfigspec('cmd_mmc','cmd_random')
>  def test_mmc_wr(u_boot_console, env__mmc_wr_config):
>      """Test the "mmc write" command.

Reviewed-by: Peng Fan <peng.fan at nxp.com>

> 
> --
> 2.17.1



More information about the U-Boot mailing list