forked from OSchip/llvm-project
[bazel] Add test targets for dataflow framework
Differential Revision: https://reviews.llvm.org/D124819
This commit is contained in:
parent
50c959b4fa
commit
aaddfbf9d6
|
@ -781,6 +781,8 @@ cc_library(
|
|||
cc_library(
|
||||
name = "analysis",
|
||||
srcs = glob([
|
||||
"lib/Analysis/FlowSensitive/Models/*.cpp",
|
||||
"lib/Analysis/FlowSensitive/*.cpp",
|
||||
"lib/Analysis/*.cpp",
|
||||
"lib/Analysis/*.h",
|
||||
]),
|
||||
|
|
|
@ -116,6 +116,31 @@ cc_test(
|
|||
],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "analysis_flow_sensitive_tests",
|
||||
srcs = glob(
|
||||
[
|
||||
"Analysis/FlowSensitive/*.cpp",
|
||||
"Analysis/FlowSensitive/*.h",
|
||||
],
|
||||
allow_empty = False,
|
||||
),
|
||||
deps = [
|
||||
"//clang:analysis",
|
||||
"//clang:ast",
|
||||
"//clang:ast_matchers",
|
||||
"//clang:basic",
|
||||
"//clang:lex",
|
||||
"//clang:serialization",
|
||||
"//clang:tooling",
|
||||
"//llvm:Support",
|
||||
"//llvm:TestingSupport",
|
||||
"//llvm:gmock",
|
||||
"//llvm:gtest",
|
||||
"//llvm:gtest_main",
|
||||
],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "basic_tests",
|
||||
size = "small",
|
||||
|
|
Loading…
Reference in New Issue