I am trying to create custom testcases using the VTS binary test template. But the codelab android pages do not describe how to incorporate shell executable tests into VTS framework using Binary test template. Is this even possible?
I have successfully created custom C/C++ tests using the same binary test template given as example in codelab
I assume you created
Android.bp
with acc_test
type binary calledMyVtsTestBinary
,AndroidTest.xml
test configuration,Android.mk
test module configuration like so: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 thetarget_native_modules
intest/vts/tools/build/tasks/vts_package.mk
.You can check whether you test is known to VTS with: