xref: /aosp_15_r20/external/autotest/server/cros/pvs/pass_criteria.proto (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1syntax = "proto3";
2
3// Bound represents a limit for the performance value
4message Bound {
5    double bound = 1;
6}
7
8// Criteria captures a single pass criteria
9message Criteria {
10    // name is presented as a regular expression
11    string name_regex = 1;
12
13    // only apply criteria to this test, if populated
14    string test_name = 2;
15
16    // lower and upper Bound messages as describe above
17    Bound lower_bound = 3;
18    Bound upper_bound = 4;
19}
20
21// PassCriteria contains any number of criteria as above
22message PassCriteria {
23    repeated Criteria criteria = 1;
24}