Copyright 2019 The Chromium OS Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
func CheckBuilder ¶
func CheckBuilder( changes *bbproto.GerritChange, changeRevs *gerrit.ChangeRevData, relevantPaths *testplans_pb.PointlessBuildCheckRequest_Path, repoToBranchToSrcRoot map[string]map[string]string, cfg *testplans_pb.BuildIrrelevanceCfg) (*testplans_pb.PointlessBuildCheckResponse, error)
CheckBuilder assesses whether a child builder is pointless for a given CQ run. This may be the case if the commits in the CQ run don't affect any files that could possibly affect this builder's relevant paths.