forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
98 lines (96 loc) · 2.37 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "types",
srcs = [
"binary_literal.go",
"compare.go",
"convert.go",
"core_time.go",
"datum.go",
"datum_eval.go",
"enum.go",
"errors.go",
"etc.go",
"eval_type.go",
"explain_format.go",
"field_name.go",
"field_type.go",
"field_type_builder.go",
"fsp.go",
"helper.go",
"mydecimal.go",
"overflow.go",
"set.go",
"time.go",
],
importpath = "github.com/pingcap/tidb/types",
visibility = ["//visibility:public"],
deps = [
"//errno",
"//parser/ast",
"//parser/charset",
"//parser/model",
"//parser/mysql",
"//parser/opcode",
"//parser/terror",
"//parser/types",
"//sessionctx/stmtctx",
"//types/json",
"//util/collate",
"//util/dbterror",
"//util/hack",
"//util/logutil",
"//util/mathutil",
"//util/parser",
"//util/stringutil",
"@com_github_pingcap_errors//:errors",
"@com_github_pingcap_log//:log",
"@org_uber_go_zap//:zap",
],
)
go_test(
name = "types_test",
timeout = "short",
srcs = [
"benchmark_test.go",
"binary_literal_test.go",
"compare_test.go",
"const_test.go",
"convert_test.go",
"core_time_test.go",
"datum_test.go",
"enum_test.go",
"errors_test.go",
"etc_test.go",
"export_test.go",
"field_type_test.go",
"format_test.go",
"fsp_test.go",
"helper_test.go",
"main_test.go",
"mydecimal_benchmark_test.go",
"mydecimal_test.go",
"overflow_test.go",
"set_test.go",
"time_test.go",
],
embed = [":types"],
flaky = True,
deps = [
"//parser/charset",
"//parser/mysql",
"//parser/terror",
"//session",
"//sessionctx/stmtctx",
"//testkit",
"//testkit/testsetup",
"//types/json",
"//util/collate",
"//util/hack",
"//util/mock",
"@com_github_pingcap_errors//:errors",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
"@org_uber_go_goleak//:goleak",
],
)