Skip to content

Commit 2cab06e

Browse files
jamin-aspeedlegoater
authored andcommitted
tests/functional/aspeed: Add test case for AST2700 A1
Signed-off-by: Jamin Lin <[email protected]> Reviewed-by: Cédric Le Goater <[email protected]> Link: https://lore.kernel.org/qemu-devel/[email protected] Signed-off-by: Cédric Le Goater <[email protected]>
1 parent c77ec95 commit 2cab06e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/functional/test_aarch64_aspeed.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ def do_test_aarch64_aspeed_sdk_start(self, image):
3131
'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.05/ast2700-a0-default-obmc.tar.gz',
3232
'cfbbd1cce72f2a3b73b9080c41eecdadebb7077fba4f7806d72ac99f3e84b74a')
3333

34+
ASSET_SDK_V905_AST2700A1 = Asset(
35+
'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.05/ast2700-default-obmc.tar.gz',
36+
'c1f4496aec06743c812a6e9a1a18d032f34d62f3ddb6956e924fef62aa2046a5')
37+
3438
def start_ast2700_test(self, name):
3539
num_cpu = 4
3640
uboot_size = os.path.getsize(self.scratch_file(name,
@@ -95,6 +99,12 @@ def test_aarch64_ast2700_evb_sdk_v09_05(self):
9599
self.archive_extract(self.ASSET_SDK_V905_AST2700)
96100
self.start_ast2700_test('ast2700-a0-default')
97101

102+
def test_aarch64_ast2700a1_evb_sdk_v09_05(self):
103+
self.set_machine('ast2700a1-evb')
104+
105+
self.archive_extract(self.ASSET_SDK_V905_AST2700A1)
106+
self.start_ast2700_test('ast2700-default')
107+
98108

99109
if __name__ == '__main__':
100110
QemuSystemTest.main()

0 commit comments

Comments
 (0)