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

Peng Fan peng.fan at nxp.com
Fri Aug 9 09:32:11 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.

Applied to mmc/master.

Thanks,
Peng

> 
> --
> 2.17.1



More information about the U-Boot mailing list