mirror of
https://github.com/bazelbuild/bazel-skylib
synced 2024-11-28 08:43:51 +00:00
baaef76aaa
Targets of this rule verify that targets can be analyzed successfully. This is similar to build_test, except no actual action execution of the underlying targets occur. analysis_test essentially verifies that `bazel build [targets] --nobuild` passes.
76 lines
1.7 KiB
Python
76 lines
1.7 KiB
Python
load("//:bzl_library.bzl", "bzl_library")
|
|
load(":build_test_tests.bzl", "build_test_test_suite")
|
|
load(":collections_tests.bzl", "collections_test_suite")
|
|
load(":dicts_tests.bzl", "dicts_test_suite")
|
|
load(":maprule_tests.bzl", "maprule_test_suite")
|
|
load(":new_sets_tests.bzl", "new_sets_test_suite")
|
|
load(":partial_tests.bzl", "partial_test_suite")
|
|
load(":paths_tests.bzl", "paths_test_suite")
|
|
load(":selects_tests.bzl", "selects_test_suite")
|
|
load(":sets_tests.bzl", "sets_test_suite")
|
|
load(":shell_tests.bzl", "shell_test_suite")
|
|
load(":structs_tests.bzl", "structs_test_suite")
|
|
load(":types_tests.bzl", "types_test_suite")
|
|
load(":unittest_tests.bzl", "unittest_passing_tests_suite")
|
|
load(":versions_tests.bzl", "versions_test_suite")
|
|
|
|
licenses(["notice"])
|
|
|
|
build_test_test_suite()
|
|
|
|
collections_test_suite()
|
|
|
|
dicts_test_suite()
|
|
|
|
maprule_test_suite()
|
|
|
|
partial_test_suite()
|
|
|
|
paths_test_suite()
|
|
|
|
selects_test_suite()
|
|
|
|
sets_test_suite()
|
|
|
|
new_sets_test_suite()
|
|
|
|
shell_test_suite()
|
|
|
|
structs_test_suite()
|
|
|
|
types_test_suite()
|
|
|
|
unittest_passing_tests_suite()
|
|
|
|
versions_test_suite()
|
|
|
|
bzl_library(
|
|
name = "unittest_tests_bzl",
|
|
srcs = ["unittest_tests.bzl"],
|
|
visibility = ["//visibility:private"],
|
|
deps = ["//lib:unittest"],
|
|
)
|
|
|
|
sh_test(
|
|
name = "unittest_e2e_test",
|
|
srcs = ["unittest_test.sh"],
|
|
data = [
|
|
":unittest.bash",
|
|
":unittest_tests_bzl",
|
|
"//toolchains/unittest:test_deps",
|
|
"@bazel_tools//tools/bash/runfiles",
|
|
],
|
|
tags = ["local"],
|
|
)
|
|
|
|
sh_test(
|
|
name = "analysis_test_e2e_test",
|
|
srcs = ["analysis_test_test.sh"],
|
|
data = [
|
|
":unittest.bash",
|
|
"//rules:analysis_test.bzl",
|
|
"@bazel_tools//tools/bash/runfiles",
|
|
],
|
|
tags = ["local"],
|
|
)
|