test_arm_aspeed_romulus.py 668 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env python3
  2. #
  3. # Functional test that boots the ASPEED machines
  4. #
  5. # SPDX-License-Identifier: GPL-2.0-or-later
  6. from qemu_test import Asset
  7. from aspeed import AspeedTest
  8. class RomulusMachine(AspeedTest):
  9. ASSET_ROMULUS_FLASH = Asset(
  10. ('https://github.com/openbmc/openbmc/releases/download/2.9.0/'
  11. 'obmc-phosphor-image-romulus.static.mtd'),
  12. '820341076803f1955bc31e647a512c79f9add4f5233d0697678bab4604c7bb25')
  13. def test_arm_ast2500_romulus_openbmc_v2_9_0(self):
  14. image_path = self.ASSET_ROMULUS_FLASH.fetch()
  15. self.do_test_arm_aspeed('romulus-bmc', image_path)
  16. if __name__ == '__main__':
  17. AspeedTest.main()