[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 23/28] test/functional/aspeed: Introduce new function to fetch
From: |
Jamin Lin |
Subject: |
[PATCH v3 23/28] test/functional/aspeed: Introduce new function to fetch assets |
Date: |
Thu, 13 Feb 2025 11:35:26 +0800 |
This method simplifies the process of fetching and extracting assets from the
Aspeed GitHub repository.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
tests/functional/test_aarch64_aspeed.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_aarch64_aspeed.py
b/tests/functional/test_aarch64_aspeed.py
index 9595498ace..f3d7c8331a 100755
--- a/tests/functional/test_aarch64_aspeed.py
+++ b/tests/functional/test_aarch64_aspeed.py
@@ -27,14 +27,15 @@ def do_test_aarch64_aspeed_sdk_start(self, image):
wait_for_console_pattern(self, '## Loading kernel from FIT Image')
wait_for_console_pattern(self, 'Starting kernel ...')
- ASSET_SDK_V903_AST2700 = Asset(
-
'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.03/ast2700-default-obmc.tar.gz',
- '91225f50d255e2905ba8d8e0c80b71b9d157c3609770c7a740cd786370d85a77')
+ def extra_aspeed_archive(self, version, file, checksum):
+ url = 'https://github.com/AspeedTech-BMC/openbmc/releases/download'
+ self.archive_extract(Asset(f'{url}/{version}/{file}', f'{checksum}'))
def test_aarch64_ast2700_evb_sdk_v09_03(self):
self.set_machine('ast2700-evb')
- self.archive_extract(self.ASSET_SDK_V903_AST2700)
+ self.extra_aspeed_archive('v09.03', 'ast2700-default-obmc.tar.gz',
+ '91225f50d255e2905ba8d8e0c80b71b9d157c3609770c7a740cd786370d85a77')
num_cpu = 4
uboot_size = os.path.getsize(self.scratch_file('ast2700-default',
--
2.34.1
- Re: [PATCH v3 18/28] hw/arm/aspeed: Add SoC and Machine Support for AST2700 A1, (continued)
[PATCH v3 22/28] hw/arm/aspeed_ast27x0: Add HACE support for AST2700, Jamin Lin, 2025/02/12
[PATCH v3 23/28] test/functional/aspeed: Introduce new function to fetch assets,
Jamin Lin <=
[PATCH v3 24/28] tests/functional/aspeed: Introduce start_ast2700_test API and update hwmon path, Jamin Lin, 2025/02/12
[PATCH v3 25/28] tests/functional/aspeed: Update test ASPEED SDK v09.05, Jamin Lin, 2025/02/12
[PATCH v3 26/28] tests/functional/aspeed: Renamed test case and machine for AST2700 A0, Jamin Lin, 2025/02/12
[PATCH v3 27/28] tests/functional/aspeed: Add test case for AST2700 A1, Jamin Lin, 2025/02/12
[PATCH v3 28/28] docs/specs: add aspeed-intc, Jamin Lin, 2025/02/12
Re: [PATCH v3 00/28] Support AST2700 A1, Cédric Le Goater, 2025/02/18