Skip to content

Instantly share code, notes, and snippets.

View seamlik's full-sized avatar

殷啟聰 | 梓川啓聡 | KC seamlik

View GitHub Profile
@seamlik
seamlik / vts-10.md
Last active January 11, 2022 16:40
How to run Android Vendor Test Suite for Android 10

VTS 10 is mainly written in Python 2. The bugs within VTS and the fact that the whole world is moving on to Python 3 make it quite the trouble running VTS 10. Here is how you can successfully run it.

The latest VTS seems to have dropped Python entirely. Glad that you don't need to worry about it anymore.

First, apply this patch to test/vts-testcase/hal:

diff --git a/usb/gadget/V1_0/host/AndroidTest.xml b/usb/gadget/V1_0/host/AndroidTest.xml
index 8e8e8a80..e7e6e446 100644
--- a/usb/gadget/V1_0/host/AndroidTest.xml