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