Skip to content

Commit 47e06a5

Browse files
nicogithub-actions[bot]
authored andcommitted
Automerge: [gn build] Port fdbd17d
2 parents 6d0b175 + afa3250 commit 47e06a5

File tree

1 file changed

+7
-0
lines changed
  • llvm/utils/gn/secondary/llvm/unittests/Option

1 file changed

+7
-0
lines changed

llvm/utils/gn/secondary/llvm/unittests/Option/BUILD.gn

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,21 @@ tablegen("Opts") {
66
args = [ "-gen-opt-parser-defs" ]
77
}
88

9+
tablegen("SubcommandOpts") {
10+
visibility = [ ":OptionTests" ]
11+
args = [ "-gen-opt-parser-defs" ]
12+
}
13+
914
unittest("OptionTests") {
1015
deps = [
1116
":Opts",
17+
":SubcommandOpts",
1218
"//llvm/lib/Option",
1319
"//llvm/lib/Support",
1420
]
1521
sources = [
1622
"OptionMarshallingTest.cpp",
1723
"OptionParsingTest.cpp",
24+
"OptionSubCommandsTest.cpp",
1825
]
1926
}

0 commit comments

Comments
 (0)