[infra] Pass TEST_COMPILATION_DIR to Android tests

The whole directory is already copied to the device. This makes
it consistent with tests running on the host and allows us to
access various artefacts (e.g. SO files containing DWARF
information).

Change-Id: I9fe20fdbb48ad5a3742286a84c87f87f580f2c09
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310600
Reviewed-by: Tess Strickland <sstrickl@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
This commit is contained in:
Vyacheslav Egorov
2023-06-21 14:17:34 +00:00
committed by Commit Queue
parent 2f27fc5ddf
commit 8f6eaeb883
@@ -666,6 +666,7 @@ class CommandExecutorImpl implements CommandExecutor {
steps.add(() => device.runAdbShellCommand([
'export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$deviceTestDir;'
'export TEST_COMPILATION_DIR=$deviceTestDir;'
'$devicedir/dart_precompiled_runtime',
'--android-log-to-stderr',
...arguments,