summaryrefslogtreecommitdiff
path: root/libpackagelistparser/packagelistparser_test.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-08-06 16:12:37 -0700
committerYifan Hong <elsk@google.com>2020-08-07 18:07:14 -0700
commitb085db746a628ab4afa5bb2b74dc6798167f6f25 (patch)
treedcab3fef1f21c72dd2055b5d3d148a0bb0212080 /libpackagelistparser/packagelistparser_test.cpp
parentc723fca056add9d27a1d4efb2a3a75916a9e2da3 (diff)
libsnapshot_test: skip global setup on non-VAB devices.
On non-VAB devices, fake super image creation may fail because it may not support f2fs file pinning. Also changes global setup to a testing::Environment object because it is the recommended way in gtest's guide. SnapshotTestEnvironement::TearDown is automatically executed before RUN_ALL_TEST returns. Test: vts_libsnapshot_test Test: make IsVirtualAbEnabled() return false, then all tests are skipped. Bug: 162557082 Change-Id: I1382f9a4ddec146fa2d8cfb21ac66ca22a2e110f (cherry picked from commit a7c00a0943411596fab0632bbbd52f3d7e2e68ba) Merged-In: I1382f9a4ddec146fa2d8cfb21ac66ca22a2e110f
Diffstat (limited to 'libpackagelistparser/packagelistparser_test.cpp')
0 files changed, 0 insertions, 0 deletions