1# SPDX-License-Identifier: GPL-2.0+
2# Copyright (c) 2016 Google, Inc
3
4import pytest
5
6OF_PLATDATA_OUTPUT = ''
7
8@pytest.mark.buildconfigspec('spl_of_platdata')
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
14