mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-01 17:41:54 +01:00
target: tests: Address review comments on PR#667
PR#667: https://github.com/ARM-software/devlib/pull/667 - Implement a test module initializer with a tear down method in test/test_target.py - Make various cleanups in test/test_target.py - Improve structure of test/test_config.yml (previously target_configs.yaml) - Make docstrings Sphinx compatible - Make ``TargetRunner`` and its subclasses private - Cleanup tests/test_target.py - Replace print()'s with appropriate logging calls - Implement ``NOPTargetRunner`` class for simplifying tests - Improve Python v3.7 compatibility - Relax host machine type checking - Escape user input strings and more.. Signed-off-by: Metin Kaya <metin.kaya@arm.com>
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
AndroidTarget:
|
||||
# Android-12, Pixel-6
|
||||
entry-0:
|
||||
timeout: 60
|
||||
connection_settings:
|
||||
device: 'emulator-5554'
|
||||
|
||||
# Android-14, Pixel-6
|
||||
entry-1:
|
||||
connection_settings:
|
||||
device: 'emulator-5556'
|
||||
|
||||
# Android-13, Pixel tablet
|
||||
entry-2:
|
||||
connection_settings:
|
||||
device: 'emulator-5558'
|
||||
|
||||
LocalLinuxTarget:
|
||||
entry-0:
|
||||
connection_settings:
|
||||
unrooted: True
|
||||
|
||||
QEMUTargetRunner:
|
||||
entry-0:
|
||||
qemu_settings:
|
||||
kernel_image: '/devlib/tools/buildroot/buildroot-v2023.11.1-aarch64/output/images/Image'
|
||||
|
||||
ChromeOsTarget:
|
||||
connection_settings:
|
||||
device: 'emulator-5558'
|
||||
|
||||
entry-1:
|
||||
connection_settings:
|
||||
port: 8023
|
||||
|
||||
qemu_settings:
|
||||
kernel_image: '/devlib/tools/buildroot/buildroot-v2023.11.1-x86_64/output/images/bzImage'
|
||||
arch: 'x86_64'
|
||||
cmdline: 'console=ttyS0'
|
||||
|
||||
ChromeOsTarget:
|
||||
connection_settings:
|
||||
device: 'emulator-5558'
|
46
tools/docker/target_configs.yml
Normal file
46
tools/docker/target_configs.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
target-configs:
|
||||
entry-0:
|
||||
# Android-12, Pixel-6
|
||||
AndroidTarget:
|
||||
timeout: 60
|
||||
connection_settings:
|
||||
device: 'emulator-5554'
|
||||
|
||||
entry-1:
|
||||
# Android-14, Pixel-6
|
||||
AndroidTarget:
|
||||
connection_settings:
|
||||
device: 'emulator-5556'
|
||||
|
||||
entry-2:
|
||||
# Android-13, Pixel tablet
|
||||
AndroidTarget:
|
||||
connection_settings:
|
||||
device: 'emulator-5558'
|
||||
|
||||
entry-3:
|
||||
LocalLinuxTarget:
|
||||
connection_settings:
|
||||
unrooted: True
|
||||
|
||||
entry-4:
|
||||
# aarch64 target
|
||||
QEMUTargetRunner:
|
||||
qemu_settings:
|
||||
kernel_image: '/devlib/tools/buildroot/buildroot-v2023.11.1-aarch64/output/images/Image'
|
||||
ChromeOsTarget:
|
||||
connection_settings:
|
||||
device: 'emulator-5558'
|
||||
|
||||
entry-5:
|
||||
# x86_64 target
|
||||
QEMUTargetRunner:
|
||||
connection_settings:
|
||||
port: 8023
|
||||
qemu_settings:
|
||||
kernel_image: '/devlib/tools/buildroot/buildroot-v2023.11.1-x86_64/output/images/bzImage'
|
||||
arch: 'x86_64'
|
||||
cmdline: 'console=ttyS0'
|
||||
ChromeOsTarget:
|
||||
connection_settings:
|
||||
device: 'emulator-5558'
|
Reference in New Issue
Block a user