blob: 5ba66ae9fe68b776640be9c86189f8644a579160 [file]
// 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: [
"syslog/client.shard.cml",
"trace/client.shard.cml",
],
program: {
runner: "elf",
binary: "bin/starnix_test_runner",
},
children: [
{
name: "interactive-guest",
url: "fuchsia-pkg://fuchsia.com/interactive-guest#meta/interactive_guest.cm",
},
],
capabilities: [
{
runner: "starnix_test_runner",
path: "/svc/fuchsia.component.runner.ComponentRunner",
},
],
use: [
{
storage: "data",
path: "/data",
},
{
storage: "tmp",
path: "/tmp",
},
{
directory: "boot-kernel",
rights: [ "r*" ],
path: "/boot/kernel",
},
{
protocol: [ "fuchsia.component.Introspector" ],
},
{
protocol: [ "fuchsia.virtualization.guest.interaction.InteractiveGuest" ],
from: "#interactive-guest",
},
],
offer: [
{
protocol: [
"fuchsia.intl.PropertyProvider",
"fuchsia.kernel.HypervisorResource",
"fuchsia.kernel.VmexResource",
"fuchsia.memorypressure.Provider",
"fuchsia.scheduler.RoleManager",
"fuchsia.sysinfo.SysInfo",
"fuchsia.sysmem.Allocator",
"fuchsia.sysmem2.Allocator",
"fuchsia.tracing.provider.Registry",
],
from: "parent",
to: "#interactive-guest",
},
],
expose: [
{
runner: "starnix_test_runner",
from: "self",
},
],
}