This is basically 7fc99e6c5e without
merging AuthFsHostTest into MicrodroidHostTestCases.
Also, add the test to presubmit.
Bug: 191056545
Bug: 193749869
Test: atest AuthFsHostTest
Change-Id: I866c4bbd6dbfc6d47719ad68dd91dafa8096b2c3
CF on GCE is now capable of running microdroid via nested virt. Since
the nested virt is extremely slow, increase the timeout values. In my
experiments, it took about 2.5 min to boot microdroid.
To avoid waiting so long on other devices (local CF instances or real
devices), the test now monitors log to detect an event that implies
microdroid has booted.
Finally, adds some conditions (e.g. existence of /dev/kvm) to test if
the device is capable of running microdroid.
Bug: 182300699
Test: acloud create --build-id 7360953 --build-target
aosp_cf_x86_64_phone-userdebug; atest -s 127.0.0.1:<port>
MicrodroidHostTestCases
Change-Id: I73cc5f4c44183318d83494991b24e29c8518aab2
TreeHugger seems have trouble building a dependency of shared library.
Until the cause is identified, remove the test from TreeHugger to
unblock the early development.
Test: None
Bug: 173408650
Bug: 171310075
Change-Id: I496edeb5807c8ce24c86d54d8ba7f9a9698dc7cb
This change adds simple readers to read fixed size chunks from file and
memory. Also set up basic build rules and test rules.
The reader will be used by later fs-verity implementation to read and
verify each 4K block access of a file.
Bug: 171310075
Test: atest authfs_host_test_src_lib
Change-Id: I194cf431d4aa6dd49cc19aea65d233ccdc6c5452