• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2022 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5syntax = "proto3";
6
7package chromiumos.test.api;
8
9option go_package = "go.chromium.org/chromiumos/config/go/test/api";
10
11message AutotestExecutionMetadata {
12    message Arg {
13        // The name of the autotest argument
14        string flag = 1;
15        // The value of the autotest argument
16        string value = 2;
17    }
18    // Custom arguments passed into the autotest test harness
19    // HARNESS SPECIFIC ARGS TO BE DEPRECATED IN FAVOR OF GENERIC ARGS.
20    repeated Arg args = 1 [deprecated = true];
21    // A custom sub directory to which test results will be written. In
22    // particular, this path will be appended to the results directory
23    // path specified on cros-test server startup to determine the final
24    // path where results will live
25    string results_sub_dir = 2;
26}
27
28// Arg defines a structure for general name/value pair for arguments.
29message Arg {
30    // The name of the argument.
31    string flag = 1;
32    // The value of the argument.
33    string value = 2;
34}
35
36// HARNESS SPECIFIC ARGS TO BE DEPRECATED IN FAVOR OF GENERIC ARGS.
37message TastExecutionMetadata {
38    option deprecated = true;
39    // Custom arguments passed into the Tast.
40    repeated Arg args = 1;
41}
42
43// This is what will be populated from CTP into testrunner args provided
44// on the CTP input request.
45message ExecutionMetadata {
46    // Custom arguments passed to the drivers. Drivers responsibility to handle.
47    repeated Arg args = 1;
48}
49