test_ofplatdata.py 385 B

12345678910111213
  1. # SPDX-License-Identifier: GPL-2.0+
  2. # Copyright (c) 2016 Google, Inc
  3. import pytest
  4. OF_PLATDATA_OUTPUT = ''
  5. @pytest.mark.buildconfigspec('spl_of_platdata')
  6. def test_ofplatdata(u_boot_console):
  7. """Test that of-platdata can be generated and used in sandbox"""
  8. cons = u_boot_console
  9. output = cons.get_spawn_output().replace('\r', '')
  10. assert OF_PLATDATA_OUTPUT in output