From 50083aeb265d767aa8a20fb6fc2c5954a02f8707 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 13 Jan 2021 11:09:56 -0500 Subject: Support specifying CAN interface for tests Add AGL_CAN_INTERFACE environment variable hook to allow specifying the CAN interface to be used in the CAN tests. This is required when using an interface other than the default of "can0", since the specific interface is needed for playback of CAN data to test binding behavior. The switch in AGL CI to using vcan0 on all test boards will require this hook. Bug-AGL: SPEC-3756 Signed-off-by: Scott Murray Change-Id: If84731ae39fd65f8fa88d24ddc0370da63ca5489 (cherry picked from commit 5a7414cbc1b371f4b83f94eaaf7501765b6bec26) --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index e99f9c7..e4d6625 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ Some specific tests are dependent on additional configuration via the following * AGL_AVAILABLE_INTERFACES - optional, specify which of ethernet, wifi, and bluetooth interfaces are available. The value is a comma separated list, with a default value of "ethernet,wifi,bluetooth". * AGL_BTMAP_RECIPIENT - optional, when running Bluetooth MAP tests, this would be used as phone number to write text messages to. * AGL_BTMAP_TEXT - optional, when running Bluetooth MAP tests, messages will be composed with this text. +* AGL_CAN_INTERFACE - optional, specify the CAN interface to use for CAN testing, default value is "can0". * AGL_PBAP_PHONENUM - optional , when running Bluetooth PBAP tests, this phone number will be used to .search(). * AGL_PBAP_VCF - optional, for the Bluetooh PBAP tests query a contact entry out of the phonebook. * AGL_BT_TEST_ADDR - optional, for the Bluetooth tests pair/connect/disconnect with an actual Bluetooth device(phone)'s address . The address should have the DBus address style as "dev_00_01_02_03_04_05" instead of a regular colon-separated MAC address. -- cgit 1.2.3-korg