Generally, use the prebuilts -- you want to make sure that you're actually compatible with the same tests everyone else is running.
The major exception is if you're developing a change to CTS/VTS itself (to upstream into AOSP), then you'll want to build it to test your change. In that case, you should build CTS/VTS separately from your device, though many individual tests may build & work with your device-specific build settings, that's not guaranteed. You'll likely want to be testing patches on an AOSP checkout that doesn't have your custom device configs anyways. The CTS/VTS build does use `lunch aosp_arm64`/etc, as the generically built test apps are expected to be compatible with any device with the same general architecture (arm vs x86 -- if the build system supported it, we'd have a single CTS/VTS build including all architectures). - Dan On Wednesday, November 17, 2021 at 12:27:18 AM UTC-8 [email protected] wrote: > Hello, > > If I have a specialized/modified android build that is based off google > AOSP source code (let's called it build-A). > > When I want to run CTS to test on my build-A, can I use the prebuilt > binaries from Compatibility Test Suite Downloads | Android Open Source > Project <https://source.android.com/compatibility/cts/downloads> or do I > have to build the CTS from scratch by specifying the BUILD-BUILD_TYPE for > the lunch command? From what I assumed, the prebuilt CTS binaries seem to > be using aosp_arm64 as the BUILD (from CTS Development | Android Open > Source Project <https://source.android.com/compatibility/cts/development>) > > For building VTS, do I also require my own build when building VTS during > the lunch command, so that the VTS packages are built to suit the android > build that I have (build-A). > How does this lunch command works, once I selected my BUILD-BUILD_TYPE, > does it affect the CTS/VTS packages that would be built? Are they > interconnected? > > Would greatly appreciate a clear explanation regarding building cts/vts > and the lunch command. Thank you. > > Best regards, > Yeongjian > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/376f76df-9c8d-4dcf-859f-0e54e683835cn%40googlegroups.com.
