fiemap: add image_test and writer_test tests to presubmit
Add fiemap_image_test and fiemap_writer_test to TEST_MAPPING to be run by TH as presubmits. Because of a bug under investigation, the actual fiemap_image_test_presubmit is used instead of the original, that has one test case disabled. Bug: none Test: TH, fiemap_image_test, fiemap_writer_test Change-Id: I63b5e69b5c245a18eceb1e5896df7bd0577f289b Signed-off-by: Alessio Balsini <balsini@google.com>
This commit is contained in:
parent
f6034544c0
commit
c352179e10
3 changed files with 39 additions and 0 deletions
|
@ -5,6 +5,12 @@
|
|||
},
|
||||
{
|
||||
"name": "liblp_test"
|
||||
},
|
||||
{
|
||||
"name": "fiemap_image_test_presubmit"
|
||||
},
|
||||
{
|
||||
"name": "fiemap_writer_test"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -104,4 +104,34 @@ cc_test {
|
|||
srcs: [
|
||||
"image_test.cpp",
|
||||
],
|
||||
test_suites: ["device-tests"],
|
||||
auto_gen_config: true,
|
||||
require_root: true,
|
||||
}
|
||||
|
||||
/* BUG(148874852) temporary test */
|
||||
cc_test {
|
||||
name: "fiemap_image_test_presubmit",
|
||||
cppflags: [
|
||||
"-DSKIP_TEST_IN_PRESUBMIT",
|
||||
],
|
||||
static_libs: [
|
||||
"libdm",
|
||||
"libext4_utils",
|
||||
"libfs_mgr",
|
||||
"liblp",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libcrypto",
|
||||
"libcrypto_utils",
|
||||
"libcutils",
|
||||
"liblog",
|
||||
],
|
||||
srcs: [
|
||||
"image_test.cpp",
|
||||
],
|
||||
test_suites: ["device-tests"],
|
||||
auto_gen_config: true,
|
||||
require_root: true,
|
||||
}
|
||||
|
|
|
@ -212,6 +212,9 @@ TEST_F(ImageTest, DirectMount) {
|
|||
}
|
||||
|
||||
TEST_F(ImageTest, IndirectMount) {
|
||||
#ifdef SKIP_TEST_IN_PRESUBMIT
|
||||
GTEST_SKIP() << "WIP failure b/148874852";
|
||||
#endif
|
||||
// Create a simple wrapper around the base device that we'll mount from
|
||||
// instead. This will simulate the code paths for dm-crypt/default-key/bow
|
||||
// and force us to use device-mapper rather than loop devices.
|
||||
|
|
Loading…
Reference in a new issue