diff options
| author | 2025-01-06 10:30:00 +0000 | |
|---|---|---|
| committer | 2025-01-23 05:37:15 -0800 | |
| commit | 7345dfdec5abce522226383af1b95850faeee1ad (patch) | |
| tree | 0a0cf447576a7392f88c78a3017690bdf877c3ee /compiler/common_compiler_test.h | |
| parent | cf6e01f7b23ddaa2fcc2ecedc08b61575cf3f84a (diff) | |
Skip tests for sparse file handling on host
Sparse file handling is filesystem dependent. Unexpected host filesystem
configurations can therefore result in failed assertions. For example,
XFS implements speculative preallocation resulting in an unexpected
number of allocated blocks after a sparse copy.
As the goal of these tests is to ensure the FdFile implementation
correctly handles sparse files when copying on device, it is not
necessary to run them on host.
As resolution of libartbase constexpr globals fails during gtests, this
CL adds the namespace prefix to their usage in common_art_test.h.
Test: test.py --gtest --host
Change-Id: I84ac680eee9bcc3eb0259a70dbca448049fcad80
Diffstat (limited to 'compiler/common_compiler_test.h')
0 files changed, 0 insertions, 0 deletions