File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 80
80
"clang" : {"compiler-rt" },
81
81
"clang-tools-extra" : {"libc" },
82
82
"libc" : {"libc" },
83
+ "compiler-rt" : {"compiler-rt" },
83
84
".ci" : {"compiler-rt" , "libc" },
84
85
}
85
86
DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG = {
Original file line number Diff line number Diff line change @@ -126,6 +126,33 @@ def test_clang_windows(self):
126
126
)
127
127
self .assertEqual (env_variables ["enable_cir" ], "OFF" )
128
128
129
+ def test_compiler_rt (self ):
130
+ env_variables = compute_projects .get_env_variables (
131
+ ["compiler-rt/lib/asan/asan_allocator.cpp" ], "Linux"
132
+ )
133
+ self .assertEqual (
134
+ env_variables ["projects_to_build" ],
135
+ "clang;lld" ,
136
+ )
137
+ self .assertEqual (
138
+ env_variables ["project_check_targets" ],"" ,
139
+ )
140
+ self .assertEqual (
141
+ env_variables ["runtimes_to_build" ], "compiler-rt"
142
+ )
143
+ self .assertEqual (
144
+ env_variables ["runtimes_check_targets" ],
145
+ "check-compiler-rt" ,
146
+ )
147
+ self .assertEqual (
148
+ env_variables ["runtimes_check_targets_needs_reconfig" ],
149
+ "" ,
150
+ )
151
+ self .assertEqual (
152
+ env_variables ["enable_cir" ],
153
+ "OFF" ,
154
+ )
155
+
129
156
def test_cir (self ):
130
157
env_variables = compute_projects .get_env_variables (
131
158
["clang/lib/CIR/CMakeLists.txt" ], "Linux"
You can’t perform that action at this time.
0 commit comments