OSDN Git Service

Add a unit test for Android Runtime (Boot) device configuration flags.
authorRoland Levillain <rpl@google.com>
Wed, 6 Feb 2019 12:00:01 +0000 (12:00 +0000)
committerRoland Levillain <rpl@google.com>
Fri, 8 Feb 2019 15:38:13 +0000 (15:38 +0000)
commit0645bcb84393b8048ceee9df5f90c5ba2dfa0184
tree6fed6d607c089467616fe2589ba3ca614039f66c
parentec820ed3a64dad14da34ec0d708c2c7353efe2ba
Add a unit test for Android Runtime (Boot) device configuration flags.

These flags live in device configuration namespace
`runtime_native_boot`. Exercise them by checking that they are passed
to the zygote process(es) as a runtime option after a reboot.

At the moment this test only checks flag `gctype`, which is the only
flag currently implemented in namespace `runtime_native_boot`.

Test: core/jni/runtime_native_boot-flags-test.sh
Bug: 72446017
Bug: 120794191
Bug: 123524494
Bug: 123754583
Change-Id: I6cf43c3ee0d405fb1b69a450587dd712f911358d
core/jni/runtime_native_boot-flags-test.sh [new file with mode: 0755]