]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: Fix test_pinmux to run in parallel
authorSimon Glass <sjg@chromium.org>
Sat, 6 Aug 2022 23:51:45 +0000 (17:51 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 12 Sep 2022 22:06:36 +0000 (18:06 -0400)
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>
test/py/tests/test_pinmux.py

index b3ae2ab0240d394607786dcc9d630b2289a16c74..794994e12d1676cc5815e025683281fedf074752 100644 (file)
@@ -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)