Set `ANDROID_RUNTIME_ROOT` in `tools/run-gtests.sh`.

Explicitly set this environment variable to "com.android.runtime"
before running gtests on device in the chroot environment, as some of
those tests need it to initialize ICU.

Note: This environment variable is set by default on devices running
Android Q, but the ART Buildbot uses devices with older Android
releases.

Test: Run ART gtests on device in chroot environment on a pre-Q device.
Bug: 121117762
Change-Id: I65955547bdeabee096d2ab77759bae8a709de110
1 file changed