2016-07-04 17:58:41 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2018-05-06 21:58:06 +00:00
|
|
|
# Copyright (c) 2016 Google, Inc
|
2016-07-04 17:58:41 +00:00
|
|
|
|
|
|
|
import pytest
|
|
|
|
|
2017-06-19 04:09:05 +00:00
|
|
|
OF_PLATDATA_OUTPUT = ''
|
2016-07-04 17:58:41 +00:00
|
|
|
|
2016-07-17 00:36:44 +00:00
|
|
|
@pytest.mark.buildconfigspec('spl_of_platdata')
|
2016-07-04 17:58:41 +00:00
|
|
|
def test_ofplatdata(u_boot_console):
|
|
|
|
"""Test that of-platdata can be generated and used in sandbox"""
|
|
|
|
cons = u_boot_console
|
|
|
|
output = cons.get_spawn_output().replace('\r', '')
|
|
|
|
assert OF_PLATDATA_OUTPUT in output
|