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
7from qemu_test import Asset
8from qemu_test.aspeed import AspeedTest
9
10class RomulusMachine(AspeedTest):
11
12    ASSET_ROMULUS_FLASH = Asset(
13        ('https://github.com/openbmc/openbmc/releases/download/2.9.0/'
14         'obmc-phosphor-image-romulus.static.mtd'),
15        '820341076803f1955bc31e647a512c79f9add4f5233d0697678bab4604c7bb25')
16
17    def test_arm_ast2500_romulus_openbmc_v2_9_0(self):
18        image_path = self.ASSET_ROMULUS_FLASH.fetch()
19
20        self.do_test_arm_aspeed('romulus-bmc', image_path)
21
22
23if __name__ == '__main__':
24    AspeedTest.main()
25