atest_tradefed: add cts-dalvik-host-test-runner
Several Libcore/Dalvik tests require the dalvik host test runner
at runtime. This change includes it from the host/.../framework
folder if it exists.
Bug: 71899243
Test: atest CtsLibCoreTestCases
Change-Id: I1e77f5b14d74d2c304a06e4843be8b48c88cf56f
diff --git a/atest_tradefed.sh b/atest_tradefed.sh
index bdbf981..6972cb8 100755
--- a/atest_tradefed.sh
+++ b/atest_tradefed.sh
@@ -24,7 +24,7 @@
# installation.
# Include any host-side dependency jars.
if [ ! -z "${ANDROID_HOST_OUT}" ]; then
- deps="compatibility-host-util.jar hosttestlib.jar cts-tradefed.jar vts-tradefed.jar host-libprotobuf-java-full.jar"
+ deps="compatibility-host-util.jar hosttestlib.jar cts-tradefed.jar vts-tradefed.jar host-libprotobuf-java-full.jar cts-dalvik-host-test-runner.jar"
for dep in $deps; do
if [ -f "${ANDROID_HOST_OUT}"/framework/$dep ]; then
TF_PATH=${TF_PATH}:"${ANDROID_HOST_OUT}"/framework/$dep