From 2aa11884678654a1bffc20c8ec11fa0fae163bb2 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 6 Aug 2022 17:51:45 -0600 Subject: [PATCH] test: Fix test_pinmux to run in parallel At present test_pinmux_status() assumes that test_pinmux_dev() has run beforehand. Drop this assumption so we can run the tests in parallel. Signed-off-by: Simon Glass --- test/py/tests/test_pinmux.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/py/tests/test_pinmux.py b/test/py/tests/test_pinmux.py index b3ae2ab024..794994e12d 100644 --- a/test/py/tests/test_pinmux.py +++ b/test/py/tests/test_pinmux.py @@ -68,6 +68,7 @@ def test_pinmux_dev(u_boot_console): def test_pinmux_status(u_boot_console): """Test that 'pinmux status' displays selected pincontroller's pin muxing descriptions.""" + u_boot_console.run_command('pinmux dev pinctrl') output = u_boot_console.run_command('pinmux status') assert (not 'pinctrl-gpio:' in output) -- 2.39.5