Merge branch 'stable-3.1' into stable-3.2
* stable-3.1: Bazel: Add always pass test to avoid boilerplate in the CI Change-Id: I782cb45c06de1097948e941d2cc2dd0556effc52
This commit is contained in:
@@ -3,3 +3,8 @@ exports_files([
|
||||
"test_empty.sh",
|
||||
"test_license.sh",
|
||||
])
|
||||
|
||||
sh_test(
|
||||
name = "always_pass_test",
|
||||
srcs = ["always_pass_test.sh"],
|
||||
)
|
||||
|
||||
21
tools/bzl/always_pass_test.sh
Executable file
21
tools/bzl/always_pass_test.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# 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.
|
||||
|
||||
# This is a dummy test to put on the command line to avoid no tests
|
||||
# found outcome in `bazel test` command. See this upstream issue:
|
||||
# https://github.com/bazelbuild/bazel/issues/11465
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user