Don't set LD_LIBRARY_PATH to the ART module for the dex2oat CTS test.
It may e.g. cause an incompatible version of libbase.so to be loaded
from the ART module into the system namespace if they've diverged, e.g.
in MCTS runs.
Merged-In set to avoid merging into main. https://r.android.com/2967365
will address the problem there.
Test: banchan com.google.android.art
m dist
adb install out/dist/com.google.android.art.apex
adb reboot
atest art_standalone_dex2oat_cts_tests
Bug: 324630197
Bug: 247108425
Change-Id: Id484cba36a3ac6e06b998144cea162894c5d3d5b
Merged-In: I783af87a03de18c65fadcd1fd5a71423ec0c786b
diff --git a/dex2oat/art_standalone_dex2oat_cts_tests.xml b/dex2oat/art_standalone_dex2oat_cts_tests.xml
index a47febe..0a38fef 100644
--- a/dex2oat/art_standalone_dex2oat_cts_tests.xml
+++ b/dex2oat/art_standalone_dex2oat_cts_tests.xml
@@ -52,8 +52,6 @@
<test class="com.android.tradefed.testtype.GTest" >
<option name="native-test-device-path" value="/data/local/tmp/art_standalone_dex2oat_cts_tests" />
<option name="module-name" value="art_standalone_dex2oat_cts_tests" />
- <option name="ld-library-path-32" value="/apex/com.android.art/lib" />
- <option name="ld-library-path-64" value="/apex/com.android.art/lib64" />
</test>
<!-- When this test is run in a Mainline context (e.g. with `mts-tradefed`), only enable it if