test/py: Fix MMC/SD block write test dependency
authorMichal Simek <michal.simek@xilinx.com>
Fri, 2 Aug 2019 04:48:44 +0000 (06:48 +0200)
committerPeng Fan <peng.fan@nxp.com>
Fri, 9 Aug 2019 05:45:25 +0000 (13:45 +0800)
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@xilinx.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
test/py/tests/test_mmc_wr.py

index 601279a6a4a35aae851094f5a0e0c7008516adb0..7678c3c9c181e2dbbddbf48b315f60c4e6601850 100644 (file)
@@ -35,7 +35,7 @@ env__mmc_wr_configs = (
 
 """
 
-@pytest.mark.buildconfigspec('cmd_mmc','cmd_memory')
+@pytest.mark.buildconfigspec('cmd_mmc','cmd_random')
 def test_mmc_wr(u_boot_console, env__mmc_wr_config):
     """Test the "mmc write" command.