]> git.ipfire.org Git - thirdparty/u-boot.git/blame - test/py/tests/test_ofplatdata.py
SPDX: Convert all of our single license tags to Linux Kernel style
[thirdparty/u-boot.git] / test / py / tests / test_ofplatdata.py
CommitLineData
b979d3d4 1# SPDX-License-Identifier: GPL-2.0+
83d290c5 2# Copyright (c) 2016 Google, Inc
b979d3d4
SG
3
4import pytest
5
2028cc59 6OF_PLATDATA_OUTPUT = ''
b979d3d4 7
f60d0603 8@pytest.mark.buildconfigspec('spl_of_platdata')
b979d3d4
SG
9def 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