Merge branch 'master' of git://git.denx.de/u-boot-spi
[oweals/u-boot.git] / 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