mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-31 22:39:08 +09:00
![Simon Glass](/assets/img/avatar_default.png)
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>
15 lines
387 B
Python
15 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
|