File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 8080 "clang" : {"compiler-rt" },
8181 "clang-tools-extra" : {"libc" },
8282 "libc" : {"libc" },
83+ "compiler-rt" : {"compiler-rt" },
8384 ".ci" : {"compiler-rt" , "libc" },
8485}
8586DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG = {
Original file line number Diff line number Diff line change @@ -126,6 +126,32 @@ def test_clang_windows(self):
126126 )
127127 self .assertEqual (env_variables ["enable_cir" ], "OFF" )
128128
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+ )
141+ self .assertEqual (env_variables ["runtimes_to_build" ], "compiler-rt" )
142+ self .assertEqual (
143+ env_variables ["runtimes_check_targets" ],
144+ "check-compiler-rt" ,
145+ )
146+ self .assertEqual (
147+ env_variables ["runtimes_check_targets_needs_reconfig" ],
148+ "" ,
149+ )
150+ self .assertEqual (
151+ env_variables ["enable_cir" ],
152+ "OFF" ,
153+ )
154+
129155 def test_cir (self ):
130156 env_variables = compute_projects .get_env_variables (
131157 ["clang/lib/CIR/CMakeLists.txt" ], "Linux"
You can’t perform that action at this time.
0 commit comments