0660ce41d8a94bdaf2e68c7e4792e315772a9b22
[oweals/u-boot.git] / test / py / tests / test_ofplatdata.py
1 # Copyright (c) 2016 Google, Inc
2 #
3 # SPDX-License-Identifier: GPL-2.0+
4
5 import pytest
6
7 OF_PLATDATA_OUTPUT = ''
8
9 @pytest.mark.buildconfigspec('spl_of_platdata')
10 def 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