]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional/aspeed: Move I2C test into shared helper for AST2700 reuse
authorJamin Lin <jamin_lin@aspeedtech.com>
Wed, 23 Apr 2025 07:23:43 +0000 (15:23 +0800)
committerCédric Le Goater <clg@redhat.com>
Mon, 5 May 2025 07:38:55 +0000 (09:38 +0200)
commit80c734ce92e3b68cdb8e82dfd094b3ba23900f17
treec95b057c7e8c0f1647c70443e1aa6efcec8031c2
parent8bc296c9b1122916166c021492c470c522e0fd16
tests/functional/aspeed: Move I2C test into shared helper for AST2700 reuse

Move the I2C test case into a common helper function (do_ast2700_i2c_test) so it
can be reused across multiple AST2700-based test cases. This reduces duplication
and improves maintainability.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Nabih Estefan <nabihestefan@google.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250423072350.541742-8-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
tests/functional/test_aarch64_aspeed.py