source_tree_test_config: remove unused only_test_build_target field
This has been replaced with cq_only_test_builders
BUG=chromium:1062039
TEST=generate
Change-Id: I47a11061ad83c4e4b8b7c508cec14344f12564bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2110912
Tested-by: Sean Abraham <seanabraham@chromium.org>
Auto-Submit: Sean Abraham <seanabraham@chromium.org>
Reviewed-by: Dhanya Ganesh <dhanyaganesh@chromium.org>
Reviewed-by: David Burger <dburger@chromium.org>
Commit-Queue: Dhanya Ganesh <dhanyaganesh@chromium.org>
Commit-Queue: David Burger <dburger@chromium.org>
diff --git a/go/testplans/source_tree_test_config.pb.go b/go/testplans/source_tree_test_config.pb.go
index c5edc51..fabac3c 100644
--- a/go/testplans/source_tree_test_config.pb.go
+++ b/go/testplans/source_tree_test_config.pb.go
@@ -6,7 +6,6 @@
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
- chromiumos "go.chromium.org/chromiumos/infra/proto/go/chromiumos"
math "math"
)
@@ -29,11 +28,6 @@
DisableVmTests bool `protobuf:"varint,3,opt,name=disable_vm_tests,json=disableVmTests,proto3" json:"disable_vm_tests,omitempty"`
// Whether to disable non-Tast-based test suites.
DisableNonTastTests bool `protobuf:"varint,5,opt,name=disable_non_tast_tests,json=disableNonTastTests,proto3" json:"disable_non_tast_tests,omitempty"`
- // A subset of build targets for which testing should be performed.
- // If this is nonempty, hw/vm tests will *only* be done for the provided
- // list of build targets.
- // DEPRECATED: being replaced in favor of cq_only_test_builders.
- OnlyTestBuildTargets []*chromiumos.BuildTarget `protobuf:"bytes,4,rep,name=only_test_build_targets,json=onlyTestBuildTargets,proto3" json:"only_test_build_targets,omitempty"`
// A subset of CQ builders for which testing should be performed.
// If this is nonempty, hw/vm tests will *only* be done for the provided
// list of build targets.
@@ -89,13 +83,6 @@
return false
}
-func (m *TestRestriction) GetOnlyTestBuildTargets() []*chromiumos.BuildTarget {
- if m != nil {
- return m.OnlyTestBuildTargets
- }
- return nil
-}
-
func (m *TestRestriction) GetCqOnlyTestBuilders() []*TestRestriction_OnlyTestBuilder {
if m != nil {
return m.CqOnlyTestBuilders
@@ -246,32 +233,30 @@
}
var fileDescriptor_9aed450ade7161bc = []byte{
- // 421 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0x6f, 0xd3, 0x30,
- 0x14, 0xc7, 0x95, 0x6e, 0x4c, 0x9b, 0x3b, 0xd1, 0x12, 0xa0, 0xed, 0x22, 0x0e, 0xa3, 0x42, 0xa2,
- 0xe2, 0x90, 0x48, 0x2b, 0x1c, 0xb8, 0x0e, 0x81, 0x10, 0x87, 0x82, 0x4c, 0xc4, 0x01, 0x09, 0x59,
- 0x6e, 0xf6, 0x92, 0x59, 0x8a, 0xed, 0xce, 0xcf, 0xa5, 0x82, 0x7f, 0x87, 0x3f, 0x14, 0x14, 0x27,
- 0x24, 0x6e, 0xa6, 0x1e, 0xfd, 0x7d, 0x9f, 0xf7, 0x7d, 0x7e, 0x3f, 0xc8, 0x4b, 0x0b, 0x68, 0x37,
- 0x25, 0x57, 0x98, 0xa0, 0xde, 0x9a, 0x0c, 0x98, 0x35, 0x00, 0xac, 0x52, 0x59, 0xa6, 0x55, 0x2e,
- 0x8a, 0x78, 0x63, 0xb4, 0xd5, 0xe1, 0x59, 0x0b, 0x46, 0xd3, 0xec, 0xd6, 0x68, 0x29, 0xb6, 0x52,
- 0x63, 0x92, 0x69, 0x29, 0xb5, 0xaa, 0x99, 0x68, 0xd2, 0x99, 0xf9, 0xfa, 0xfc, 0xef, 0x80, 0x8c,
- 0x52, 0x40, 0x4b, 0x01, 0xad, 0x11, 0x99, 0x15, 0x5a, 0x85, 0x0b, 0x32, 0xbe, 0x11, 0xc8, 0xd7,
- 0x25, 0xb0, 0xdb, 0x9d, 0xab, 0x87, 0xb3, 0xe0, 0x32, 0x58, 0x9c, 0xd2, 0x87, 0x8d, 0xfe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0xbc, 0x26, 0x5a, 0x83, 0xe4, 0xa6, 0x13, 0x7b, 0xd4, 0xce, 0xbd, 0xf7, 0x1f, 0x4d, 0xe0, 0x36,
+ 0x9d, 0x06, 0x76, 0x74, 0x3e, 0xb8, 0x7f, 0x91, 0x63, 0xb2, 0xca, 0xf3, 0x75, 0x9d, 0x92, 0xb1,
+ 0xf7, 0xae, 0xc7, 0x0d, 0x5a, 0xfa, 0x52, 0x98, 0x56, 0xea, 0x96, 0x53, 0x1a, 0x3c, 0xa3, 0x8f,
+ 0x97, 0x8f, 0xfc, 0x13, 0xc5, 0x2e, 0xa0, 0x2f, 0xef, 0xbe, 0x4d, 0x7e, 0x9b, 0x65, 0xca, 0xfd,
+ 0x96, 0xdb, 0x76, 0x35, 0x68, 0xd0, 0x55, 0xd7, 0x46, 0x93, 0x5f, 0x0f, 0xe3, 0x58, 0x78, 0xe1,
+ 0x4a, 0x0a, 0x46, 0xb7, 0xcc, 0x13, 0x32, 0xf6, 0x8f, 0x07, 0xa1, 0x7c, 0xca, 0x23, 0x49, 0x7c,
+ 0xf3, 0x07, 0xfd, 0x58, 0xf8, 0xa7, 0x5d, 0x8b, 0x9a, 0xd1, 0xc6, 0x6f, 0x01, 0x00, 0x00, 0xff,
+ 0xff, 0x7c, 0x8f, 0xb0, 0x61, 0xe5, 0x02, 0x00, 0x00,
}
diff --git a/src/testplans/source_tree_test_config.proto b/src/testplans/source_tree_test_config.proto
index 13ff66d..e12a12b 100644
--- a/src/testplans/source_tree_test_config.proto
+++ b/src/testplans/source_tree_test_config.proto
@@ -8,7 +8,6 @@
option go_package = "go.chromium.org/chromiumos/infra/proto/go/testplans";
-import "chromiumos/common.proto";
import "testplans/common.proto";
// Testing restrictions to apply to a source tree.
@@ -19,11 +18,6 @@
bool disable_vm_tests = 3;
// Whether to disable non-Tast-based test suites.
bool disable_non_tast_tests = 5;
- // A subset of build targets for which testing should be performed.
- // If this is nonempty, hw/vm tests will *only* be done for the provided
- // list of build targets.
- // DEPRECATED: being replaced in favor of cq_only_test_builders.
- repeated chromiumos.BuildTarget only_test_build_targets = 4;
message OnlyTestBuilder {
string builder_name = 1;
@@ -33,6 +27,8 @@
// If this is nonempty, hw/vm tests will *only* be done for the provided
// list of build targets.
repeated OnlyTestBuilder cq_only_test_builders = 6;
+
+ reserved 4;
}
// A set of test restrictions for a source tree.