diff mbox series

[U-Boot] test/py: Add cmd_memory dependency back to test_mmc_wr

Message ID bac2d8b299f94eb871d755856d6fcbef280135b2.1566205570.git.michal.simek@xilinx.com
State Accepted
Commit 753e5385ca6d0fe5b5f5a3a97cc96b0f2469ca94
Delegated to: Tom Rini
Headers show
Series [U-Boot] test/py: Add cmd_memory dependency back to test_mmc_wr | expand

Commit Message

Michal Simek Aug. 19, 2019, 9:06 a.m. UTC
Based on discussion with Stephen Warren there was recommendation to list
both memory and random command dependencies just in case that dependency is
not properly handled by Kconfig.

Fixes: a09c1f7e1c1b ("test/py: Fix MMC/SD block write test dependency")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 test/py/tests/test_mmc_wr.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Warren Aug. 19, 2019, 3:54 p.m. UTC | #1
On 8/19/19 3:06 AM, Michal Simek wrote:
> Based on discussion with Stephen Warren there was recommendation to list
> both memory and random command dependencies just in case that dependency is
> not properly handled by Kconfig.

Acked-by: Stephen Warren <swarren@nvidia.com>
Tom Rini Aug. 21, 2019, 12:45 p.m. UTC | #2
On Mon, Aug 19, 2019 at 11:06:13AM +0200, Michal Simek wrote:

> Based on discussion with Stephen Warren there was recommendation to list
> both memory and random command dependencies just in case that dependency is
> not properly handled by Kconfig.
> 
> Fixes: a09c1f7e1c1b ("test/py: Fix MMC/SD block write test dependency")
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> Acked-by: Stephen Warren <swarren@nvidia.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/test/py/tests/test_mmc_wr.py b/test/py/tests/test_mmc_wr.py
index 7678c3c9c181..8b18781eac74 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 = (
 
 """
 
-@pytest.mark.buildconfigspec('cmd_mmc','cmd_random')
+@pytest.mark.buildconfigspec('cmd_mmc','cmd_memory', 'cmd_random')
 def test_mmc_wr(u_boot_console, env__mmc_wr_config):
     """Test the "mmc write" command.