mirror of https://github.com/grpc/grpc.git
[bazelified tests] Make bazelified C basictests build only (#34428)
- make C-core basictests use `--build_only` when running as bazelified tests. This is because the volume of C core tests is expected to grow very significantly after https://github.com/grpc/grpc/pull/34419 and currently the non-bazelified counterpart of the tests (the presubmit grpc_basictests_c_cpp_build_only job) is also "build only". - make the linux presubmit job `grpc_basictests_c_cpp_build_only` a noop, since the bazelified tests already give the same coverage on presubmit.pull/34449/head
parent
aa17285f8e
commit
866fc41067
4 changed files with 38 additions and 15 deletions
@ -0,0 +1,28 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# Copyright 2023 The gRPC Authors |
||||||
|
# |
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||||
|
# you may not use this file except in compliance with the License. |
||||||
|
# You may obtain a copy of the License at |
||||||
|
# |
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
# |
||||||
|
# Unless required by applicable law or agreed to in writing, software |
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
# See the License for the specific language governing permissions and |
||||||
|
# limitations under the License. |
||||||
|
|
||||||
|
set -ex |
||||||
|
|
||||||
|
# avoid slow finalization after the script has exited. |
||||||
|
source $(dirname $0)/../../../../tools/internal_ci/helper_scripts/move_src_tree_and_respawn_itself_rc |
||||||
|
|
||||||
|
# change to grpc repo root |
||||||
|
cd $(dirname $0)/../../../.. |
||||||
|
|
||||||
|
source tools/internal_ci/helper_scripts/prepare_build_linux_rc |
||||||
|
|
||||||
|
echo "The grpc_basictests_c_cpp_build_only job on linux has been deprecated and is now a no-op." |
||||||
|
echo "The tests are running as bazelified tests under tools/bazelify_tests." |
||||||
|
echo "Note that the grpc_basictests_c_cpp job still runs on master (but not on PRs)." |
Loading…
Reference in new issue