blob: f667d2c8aa8d253698a83eb40eba734ad057a44c [file] [log] [blame]
// Copyright 2024 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: [
"sys/testing/elf_test_runner.shard.cml",
"syslog/client.shard.cml",
],
program: {
binary: "bin/hello_debian_verifier",
args: [
"--collection",
"debian_children",
"--child-name",
"hello_debian_cpp",
"--child-url",
"hello_debian_cpp#meta/hello_debian_cpp.cm",
"--expected-log",
"hello debian",
],
},
children: [
{
name: "kernel",
url: "starnix_kernel#meta/starnix_kernel.cm",
},
{
name: "debian_container",
url: "debian#meta/debian_container.cm",
environment: "#starnix_kernel_env",
},
],
collections: [
{
name: "debian_children",
environment: "#debian_container_env",
durability: "single_run",
},
],
use: [
{ protocol: "fuchsia.diagnostics.ArchiveAccessor" },
{
protocol: [ "fuchsia.component.Realm" ],
from: "framework",
},
{
event_stream: [ "stopped" ],
},
],
offer: [
{
protocol: [ "fuchsia.kernel.VmexResource" ],
from: "parent",
to: "#kernel",
},
{
directory: "boot-kernel",
from: "parent",
to: "#kernel",
},
],
environments: [
{
name: "starnix_kernel_env",
extends: "realm",
runners: [
{
runner: "starnix",
from: "#kernel",
},
],
},
{
name: "debian_container_env",
extends: "realm",
runners: [
{
runner: "starnix_container",
from: "#debian_container",
},
],
},
],
}