diff mbox

[U-Boot] test: Adjust the of-platdata test run condition

Message ID 1468715804-22598-1-git-send-email-sjg@chromium.org
State Accepted
Commit f60d0603edca472c4458b30956f38c6c1a836d66
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass July 17, 2016, 12:36 a.m. UTC
This should be spl_of_platdata, since otherwise it will try to run on boards
that don't support of-platdata.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

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

Comments

Tom Rini July 17, 2016, 1:01 a.m. UTC | #1
On Sat, Jul 16, 2016 at 06:36:44PM -0600, Simon Glass wrote:

> This should be spl_of_platdata, since otherwise it will try to run on boards
> that don't support of-platdata.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
Stephen Warren July 18, 2016, 4:12 p.m. UTC | #2
On 07/16/2016 07:01 PM, Tom Rini wrote:
> On Sat, Jul 16, 2016 at 06:36:44PM -0600, Simon Glass wrote:
>
>> This should be spl_of_platdata, since otherwise it will try to run on boards
>> that don't support of-platdata.
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>
> Applied to u-boot/master, thanks!

FWIW, this appears to have fixed the test failures for me. Thanks.
diff mbox

Patch

diff --git a/test/py/tests/test_ofplatdata.py b/test/py/tests/test_ofplatdata.py
index c8b309e..457c405 100644
--- a/test/py/tests/test_ofplatdata.py
+++ b/test/py/tests/test_ofplatdata.py
@@ -34,7 +34,7 @@  string <NULL>
 stringarray "one" "" ""
 '''
 
-@pytest.mark.buildconfigspec('spl')
+@pytest.mark.buildconfigspec('spl_of_platdata')
 def test_ofplatdata(u_boot_console):
     """Test that of-platdata can be generated and used in sandbox"""
     cons = u_boot_console