2
0
Fork 0
mirror of https://github.com/bazelbuild/bazel-skylib synced 2024-11-30 10:41:18 +00:00
bazel-skylib/tests/BUILD
László Csomor 4c26bf475c
Windows: fix tests for native test wrapper (#129)
All tests work with
`--incompatible_windows_native_test_wrapper`
except for the ones already broken on Windows
(//tests:analysis_test_e2e_test and
//tests:unittest_e2e_test).

See https://github.com/bazelbuild/bazel/issues/6622
2019-03-26 10:52:27 +01:00

96 lines
2.1 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_args_test_gen", "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"])
exports_files(
["unittest.bash"],
visibility = ["//tests:__subpackages__"],
)
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",
"//lib:dicts.bzl",
"//lib:new_sets.bzl",
"//lib:old_sets.bzl",
"//lib:sets.bzl",
"//lib:types.bzl",
"//lib:unittest.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"],
)
shell_args_test_gen(
name = "shell_spawn_e2e_test_src",
)
sh_test(
name = "shell_spawn_e2e_test",
srcs = [":shell_spawn_e2e_test_src"],
)