blob: 2963205b2752d846a4c70ea303747bb6a5022d53 [file] [log] [blame]
// Copyright 2021 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/sys/test_manager/system-test.shard.cml",
"//src/sys/test_runners/rust/default.shard.cml",
"inspect/client.shard.cml",
"syslog/client.shard.cml",
],
program: {
binary: "bin/scenic_stressor",
args: [
"--num-operations",
"1000",
],
},
children: [
{
name: "scenic",
url: "fuchsia-pkg://fuchsia.com/scenic-stress-tests#meta/scenic-for-stress-tests.cm",
},
{
name: "hdcp",
url: "fuchsia-pkg://fuchsia.com/scenic-stress-tests#meta/hdcp.cm",
},
],
use: [
{
protocol: "fuchsia.component.Realm",
from: "framework",
},
],
offer: [
{
directory: "dev-display-controller",
from: "parent",
to: "#scenic",
},
{
directory: "dev-goldfish-address-space",
from: "parent",
to: "#scenic",
},
{
directory: "dev-goldfish-control",
from: "parent",
to: "#scenic",
},
{
directory: "dev-goldfish-pipe",
from: "parent",
to: "#scenic",
},
{
directory: "dev-goldfish-sync",
from: "parent",
to: "#scenic",
},
{
directory: "dev-gpu",
from: "parent",
to: "#scenic",
},
{
directory: "tmp",
from: "parent",
to: [ "#scenic" ],
},
{
protocol: [
"fuchsia.cobalt.LoggerFactory",
"fuchsia.logger.LogSink",
"fuchsia.scheduler.ProfileProvider",
"fuchsia.sysmem.Allocator",
"fuchsia.tracing.provider.Registry",
"fuchsia.ui.input.ImeService",
"fuchsia.vulkan.loader.Loader",
],
from: "parent",
to: "#scenic",
},
{
protocol: [
"fuchsia.sysmem.Allocator",
"fuchsia.tracing.provider.Registry",
],
from: "parent",
to: "#hdcp",
},
{
protocol: [ "fuchsia.hardware.display.Provider" ],
from: "#hdcp",
to: "#scenic",
},
],
}