| // 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/sys/test_runners/gotests/default.shard.cml", |
| "//src/sys/test_runners/tmp_storage.shard.cml", |
| ], |
| program: { |
| binary: "test/syslog_test", |
| }, |
| children: [ |
| { |
| name: "archivist", |
| url: "#meta/archivist-for-embedding.cm", |
| }, |
| ], |
| use: [ |
| { |
| protocol: "fuchsia.diagnostics.ArchiveAccessor", |
| from: "#archivist/diagnostics-accessors", |
| }, |
| { |
| protocol: "fuchsia.logger.LogSink", |
| from: "#archivist", |
| }, |
| { |
| protocol: "fuchsia.diagnostics.LogSettings", |
| from: "#archivist", |
| }, |
| ], |
| offer: [ |
| { |
| event_stream: "capability_requested", |
| from: "parent", |
| to: "#archivist", |
| }, |
| |
| // This isn't actually needed, but it keeps the compiler happy. |
| { |
| dictionary: "diagnostics", |
| from: "parent", |
| to: "#archivist", |
| }, |
| ], |
| } |