Merge "Attempt to make libavb test working in CI"

This commit is contained in:
Julien Desprez 2021-01-26 02:00:03 +00:00 committed by Gerrit Code Review
commit a28b67e9b6
1 changed files with 15 additions and 0 deletions

View File

@ -91,12 +91,19 @@ cc_test_host {
name: "libfs_avb_test",
defaults: ["libfs_avb_host_test_defaults"],
test_suites: ["general-tests"],
test_options: {
unit_test: true,
},
static_libs: [
"libfs_avb_test_util",
],
shared_libs: [
"libcrypto",
],
data: [
":avbtool",
":fec",
],
srcs: [
"tests/basic_test.cpp",
"tests/fs_avb_test.cpp",
@ -108,9 +115,17 @@ cc_test_host {
name: "libfs_avb_internal_test",
defaults: ["libfs_avb_host_test_defaults"],
test_suites: ["general-tests"],
test_options: {
unit_test: true,
},
static_libs: [
"libfs_avb_test_util",
],
compile_multilib: "first",
data: [
":avbtool",
":fec",
],
srcs: [
"avb_util.cpp",
"util.cpp",