blob: 0660ce41d8a94bdaf2e68c7e4792e315772a9b22 [file] [log] [blame]
Simon Glassb979d3d2016-07-04 11:58:41 -06001# Copyright (c) 2016 Google, Inc
2#
3# SPDX-License-Identifier: GPL-2.0+
4
5import pytest
6
Simon Glass2028cc52017-06-18 22:09:05 -06007OF_PLATDATA_OUTPUT = ''
Simon Glassb979d3d2016-07-04 11:58:41 -06008
Simon Glassf60d0602016-07-16 18:36:44 -06009@pytest.mark.buildconfigspec('spl_of_platdata')
Simon Glassb979d3d2016-07-04 11:58:41 -060010def 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