summaryrefslogtreecommitdiff
path: root/test/utils/python/generate_java_main.py
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-12-30 19:37:48 -0800
committerAndreas Gampe <agampe@google.com>2016-09-02 20:44:10 -0700
commit85b286b300eafd0c2a6d8cce50d449bd627d050d (patch)
tree4b031597a66e29fd0fc7672787e12c51f6d7f579 /test/utils/python/generate_java_main.py
parenta02add68bb070ba049ea20b2d8905c7378c75dab (diff)
ART: Fixup JDWP tests script
The tests have problems on the host because of boot images. Vogar by default runs in 32-bit mode, but the art script, used for forked debuggee processes, by default runs in 64-bit. The JDWP forks also do not set a boot classpath. With that mismatch, when the tests are run in 32-bit mode on a 64-bit enabled host, the forked processes will die. Check whether a --variant parameter was passed to the test (and if not assume it's x32). If the parameter is x32, then adapt the debuggee command to ensure the forked runtime also runs in 32-bit mode and finds the image from the controller. Similarly handle the x64 case. Change-Id: Ic22477e33702e1a7c1ca94466bf02df4cb201723
Diffstat (limited to 'test/utils/python/generate_java_main.py')
0 files changed, 0 insertions, 0 deletions