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