]> git.sur5r.net Git - u-boot/blob - test/py/tests/test_ofplatdata.py
dd8a09f03242e2c3b026329792b3a7e4a04c8b21
[u-boot] / test / py / tests / test_ofplatdata.py
1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright (c) 2016 Google, Inc
3
4 import pytest
5
6 OF_PLATDATA_OUTPUT = ''
7
8 @pytest.mark.buildconfigspec('spl_of_platdata')
9 def test_ofplatdata(u_boot_console):
10     """Test that of-platdata can be generated and used in sandbox"""
11     cons = u_boot_console
12     output = cons.get_spawn_output().replace('\r', '')
13     assert OF_PLATDATA_OUTPUT in output