summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
author Richard Neill <richard.neill@arm.com> 2025-01-06 10:30:00 +0000
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-01-23 05:37:15 -0800
commit7345dfdec5abce522226383af1b95850faeee1ad (patch)
tree0a0cf447576a7392f88c78a3017690bdf877c3ee /compiler/common_compiler_test.h
parentcf6e01f7b23ddaa2fcc2ecedc08b61575cf3f84a (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