This folder contains SDV System tests implemented using the SDV Test Framework.
See Android partner documentation for general information about SDV.
Ensure you are sync and have built most recent version.
. build/envsetup.sh lunch sdv_core_cf-trunk_staging-userdebug
// on sdv_core_cf cvd create --config=sdv_core_instance1 cvd create --config=sdv_core_instance2 cvd create --config=sdv_core_instance3
// on sdv_ivi_cf cvd create --config=sdv_ivi_instance1 cvd create --config=sdv_ivi_instance2 cvd create --config=sdv_ivi_instance3
// on sdv_media_cf cvd create --config=sdv_media_instance1 cvd create --config=sdv_media_instance2 cvd create --config=sdv_media_instance3
atest <testName>
Build catbox: m catbox
The following commands assume you are at the root of the repo
Check available test plans for SDV
./out/host/linux-x86/catbox/android-catbox/tools/catbox-tradefed l p | grep sdv
Execute test
NOTIFY_AS_NATIVE=0.0.0.0:6520 ./out/host/linux-x86/catbox/android-catbox/tools/catbox-tradefed run commandAndExit <test_name> --{device1}serial 0.0.0.0:6520 --mobly-config-file-name sdv_one_device_config_local.yaml
NOTIFY_AS_NATIVE=0.0.0.0:6520,0.0.0.0:6521 ./out/host/linux-x86/catbox/android-catbox/tools/catbox-tradefed run commandAndExit <test_name> --{device1}serial 0.0.0.0:6520 --{device2}serial 0.0.0.0:6521 --mobly-config-file-name sdv_two_devices_config_local.yaml
NOTIFY_AS_NATIVE=0.0.0.0:6520,0.0.0.0:6521,0.0.0.0:6522 ./out/host/linux-x86/catbox/android-catbox/tools/catbox-tradefed run commandAndExit <test_name> --{device1}serial 0.0.0.0:6520 --{device2}serial 0.0.0.0:6521 --{device3}serial 0.0.0.0:6522 --mobly-config-file-name sdv_three_devices_config_local.yaml