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 <sjg@chromium.org>
This commit is contained in:
Simon Glass 2022-08-06 17:51:45 -06:00 committed by Tom Rini
parent 98b3a998b3
commit 2aa1188467

View File

@ -68,6 +68,7 @@ def test_pinmux_dev(u_boot_console):
def test_pinmux_status(u_boot_console): def test_pinmux_status(u_boot_console):
"""Test that 'pinmux status' displays selected pincontroller's pin """Test that 'pinmux status' displays selected pincontroller's pin
muxing descriptions.""" muxing descriptions."""
u_boot_console.run_command('pinmux dev pinctrl')
output = u_boot_console.run_command('pinmux status') output = u_boot_console.run_command('pinmux status')
assert (not 'pinctrl-gpio:' in output) assert (not 'pinctrl-gpio:' in output)