blob: c88e4d4174218cc090fb6a5d3b9e9b617e9d158a [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
include: [
"//src/factory/factory_store_providers/driver_test_realm/meta/client.shard.cml",
// TODO(fxbug.dev/91509): Make the test hermetic (offer config-data through resource)
// In order to use config-data, we need to mark the test non-hermetic
"//src/sys/test_manager/system-test.shard.cml",
"//src/sys/test_runners/rust/default.shard.cml",
"syslog/client.shard.cml",
],
program: {
binary: "bin/factory_store_providers_test",
},
children: [
{
name: "ext4_readonly",
url: "#meta/ext4_readonly.cm",
},
{
name: "factory_store_providers",
url: "#meta/factory_store_providers.cm",
},
{
name: "driver_test_realm",
url: "#meta/driver_test_realm.cm",
},
],
use: [
{
protocol: [
"fuchsia.factory.AlphaFactoryStoreProvider",
"fuchsia.factory.CastCredentialsFactoryStoreProvider",
"fuchsia.factory.MiscFactoryStoreProvider",
"fuchsia.factory.PlayReadyFactoryStoreProvider",
"fuchsia.factory.WeaveFactoryStoreProvider",
"fuchsia.factory.WidevineFactoryStoreProvider",
],
from: "#factory_store_providers",
},
{
protocol: [ "fuchsia.storage.ext4.Server" ],
from: "#ext4_readonly",
},
],
offer: [
{
protocol: [ "fuchsia.logger.LogSink" ],
from: "parent",
to: [ "#factory_store_providers" ],
},
{
directory: "config-data",
from: "parent",
to: [ "#factory_store_providers" ],
subdir: "factory_store_providers_ext4_tests",
},
{
protocol: [ "fuchsia.storage.ext4.Server" ],
from: "#ext4_readonly",
to: [ "#factory_store_providers" ],
},
{
directory: "dev",
from: "#factory_driver_test_realm",
as: "dev-class-block",
to: [ "#factory_store_providers" ],
rights: [ "r*" ],
subdir: "class/block",
},
],
}