]>
Commit | Line | Data |
---|---|---|
b979d3d4 | 1 | # SPDX-License-Identifier: GPL-2.0+ |
83d290c5 | 2 | # Copyright (c) 2016 Google, Inc |
b979d3d4 SG |
3 | |
4 | import pytest | |
5 | ||
2028cc59 | 6 | OF_PLATDATA_OUTPUT = '' |
b979d3d4 | 7 | |
f60d0603 | 8 | @pytest.mark.buildconfigspec('spl_of_platdata') |
b979d3d4 SG |
9 | def 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 |