summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ulya Trofimovich <skvadrik@google.com> 2024-11-14 09:58:28 +0000
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-11-14 11:27:42 +0000
commit5081f0fa4617f9dfd7321149448c8f1ffa022ed6 (patch)
treed1d6675888712ed6777ca4feb8b2d6e9ed1fbc5d
parent91578498898998b1206c490e0b737c5ee895c539 (diff)
Export ART_TEST_ON_VM for tests.
This is needed to query ART_TEST_ON_VM from libnativehelper, so that we can run ART tests in debug mode. Test: run ART test 1924 in debug mode (previously it used to fail with `globals_unix.cc:59 Loading libartbased.so while libartbase.so is already loaded`, now it pesses): export SOONG_ALLOW_MISSING_DEPENDENCIES=true export ART_TEST_SSH_USER=ubuntu export ART_TEST_SSH_HOST=localhost export ART_TEST_SSH_PORT=10001 export ART_TEST_ON_VM=true . ./build/envsetup.sh lunch armv8-trunk_staging-eng art/tools/buildbot-build.sh --target -j72 #--installclean . art/tools/buildbot-utils.sh art/tools/buildbot-cleanup-device.sh art/tools/buildbot-setup-device.sh art/tools/buildbot-sync.sh art/test/run-test --chroot $ART_TEST_CHROOT --64 1924 Change-Id: I1a8adf92984e50c62ab0741283a112c724efa97b
-rwxr-xr-xtest/default_run.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/default_run.py b/test/default_run.py
index 01b7542476..c5e9d376ae 100755
--- a/test/default_run.py
+++ b/test/default_run.py
@@ -1049,6 +1049,7 @@ def default_run(ctx, args, **kwargs):
ANDROID_ART_ROOT = ANDROID_ART_ROOT,
ANDROID_TZDATA_ROOT = ANDROID_TZDATA_ROOT,
ANDROID_LOG_TAGS = ANDROID_LOG_TAGS,
+ ART_TEST_ON_VM=ON_VM,
LD_LIBRARY_PATH = LD_LIBRARY_PATH,
NATIVELOADER_DEFAULT_NAMESPACE_LIBS = NATIVELOADER_DEFAULT_NAMESPACE_LIBS,
PATH = f"{PREPEND_TARGET_PATH}:$PATH",