test_ofplatdata.py 387 B

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