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