Use art::CommonRuntimeTest to set up a test with a runtime.

This is hopefully a better way than a plain call to JNI_CreateJavaVM to
set up a runtime that works in all the various test environments.

Test: m cts cts-tradefed
      cts-tradefed run commandAndExit cts \
        --module art_standalone_libartpalette_tests
Test: art/tools/run-gtests.sh \
        /apex/com.android.art/bin/art/{x86,x86_64}/art_libartpalette_tests
  in device chroot test environment
Test: m test-art-host-gtest-art_libartpalette_tests
Bug: 216838549
Change-Id: I763dbaa6f449b58fb1b060054618b8b48507fce2
1 file changed