github.com/nya3jp/tast@v0.0.0-20230601000426-85c8e4d83a9b/src/go.chromium.org/tast/core/internal/protocol/features.proto (about)

     1  // Copyright 2021 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  
     5  syntax = "proto3";
     6  
     7  package tast.core;
     8  
     9  import "go.chromium.org/tast/core/framework/protocol/dutfeatures.proto";
    10  
    11  option go_package = "go.chromium.org/tast/core/internal/protocol";
    12  
    13  // Features represents a set of features available for tests.
    14  message Features {
    15    // CheckDeps indicates whether to skip tests whose dependencies are not
    16    // satisfied by available features.
    17    bool check_deps = 5;
    18  
    19    DUTFeatures dut = 6;
    20    InfraFeatures infra = 7;
    21    map<string, DUTFeatures> companionFeatures = 8;
    22    // ForceSkip provides a mapping of the tests forced to skip and the reasons.
    23    map<string, ForceSkip> force_skips = 9;
    24  
    25    reserved 1 to 4;
    26  }
    27  
    28  // InfraFeatures represents a set of features made available by testing
    29  // infrastructure.
    30  message InfraFeatures {
    31    map<string, string> vars = 1;
    32    string maybe_missing_vars = 2;
    33  }
    34  
    35  // ForceSkip provides the reason of skipping a test by force.
    36  message ForceSkip { string reason = 1; }