bazel-skylib/tests/BUILD

76 lines
1.7 KiB
Python
Raw Normal View History

load("//:bzl_library.bzl", "bzl_library")
load(":build_test_tests.bzl", "build_test_test_suite")
2017-10-10 14:59:31 +00:00
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")
2017-10-10 14:59:31 +00:00
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")
2017-10-10 14:59:31 +00:00
licenses(["notice"])
build_test_test_suite()
2017-10-10 14:59:31 +00:00
collections_test_suite()
dicts_test_suite()
maprule_test_suite()
partial_test_suite()
2017-10-10 14:59:31 +00:00
paths_test_suite()
selects_test_suite()
sets_test_suite()
new_sets_test_suite()
2017-10-10 14:59:31 +00:00
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"],
)