mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
Currently we have code which prints out platform data at the start of SPL. Now that we have tests for dtoc this is probably not necessary. Drop it. Update test_ofplatdata to check for empty output since it is useful to check that sandbox_spl works as expected. Signed-off-by: Simon Glass <sjg@chromium.org>
14 lines
387 B
Python
14 lines
387 B
Python
# Copyright (c) 2016 Google, Inc
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
import pytest
|
|
|
|
OF_PLATDATA_OUTPUT = ''
|
|
|
|
@pytest.mark.buildconfigspec('spl_of_platdata')
|
|
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
|