xref: /aosp_15_r20/external/bazelbuild-rules_testing/lib/analysis_test.bzl (revision d605057434dcabba796c020773aab68d9790ff9f)
1*d6050574SRomain Jobredeaux# Copyright 2022 The Bazel Authors. All rights reserved.
2*d6050574SRomain Jobredeaux#
3*d6050574SRomain Jobredeaux# Licensed under the Apache License, Version 2.0 (the "License");
4*d6050574SRomain Jobredeaux# you may not use this file except in compliance with the License.
5*d6050574SRomain Jobredeaux# You may obtain a copy of the License at
6*d6050574SRomain Jobredeaux#
7*d6050574SRomain Jobredeaux#    http://www.apache.org/licenses/LICENSE-2.0
8*d6050574SRomain Jobredeaux#
9*d6050574SRomain Jobredeaux# Unless required by applicable law or agreed to in writing, software
10*d6050574SRomain Jobredeaux# distributed under the License is distributed on an "AS IS" BASIS,
11*d6050574SRomain Jobredeaux# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*d6050574SRomain Jobredeaux# See the License for the specific language governing permissions and
13*d6050574SRomain Jobredeaux# limitations under the License.
14*d6050574SRomain Jobredeaux
15*d6050574SRomain Jobredeaux"""# Analysis test
16*d6050574SRomain Jobredeaux
17*d6050574SRomain JobredeauxSupport for testing analysis phase logic, such as rules.
18*d6050574SRomain Jobredeaux"""
19*d6050574SRomain Jobredeaux
20*d6050574SRomain Jobredeauxload("//lib:test_suite.bzl", _test_suite = "test_suite")
21*d6050574SRomain Jobredeauxload("//lib/private:analysis_test.bzl", _analysis_test = "analysis_test")
22*d6050574SRomain Jobredeaux
23*d6050574SRomain Jobredeauxanalysis_test = _analysis_test
24*d6050574SRomain Jobredeaux
25*d6050574SRomain Jobredeauxdef test_suite(**kwargs):
26*d6050574SRomain Jobredeaux    """This is an alias to lib/test_suite.bzl#test_suite.
27*d6050574SRomain Jobredeaux
28*d6050574SRomain Jobredeaux    Args:
29*d6050574SRomain Jobredeaux        **kwargs: Args passed through to test_suite
30*d6050574SRomain Jobredeaux    """
31*d6050574SRomain Jobredeaux    _test_suite(**kwargs)
32