I assume you created
- an
Android.bp
with a cc_test
type binary called MyVtsTestBinary
,
- a corresponding
AndroidTest.xml
test configuration,
- and an
Android.mk
test module configuration like so:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := MyVtsTestName
include test/vts/tools/build/Android.host_config.mk
vts-tradefed
will expect your test binary and all required libraries to be located in $ANDROID_HOST_OUT/vts/android-vts/testcases
. Your binaries will be copied there if you add them to the target_native_modules
in test/vts/tools/build/tasks/vts_package.mk
.
target_native_modules := \
[...]\
MyVtsTestBinary
You can check whether you test is known to VTS with:
vts-tradefed list modules