@@ -187,7 +187,7 @@ def test_top_level_file(self):
187
187
self .assertEqual (env_variables ["runtimes_check_targets" ], "" )
188
188
self .assertEqual (env_variables ["runtimes_check_targets_needs_reconfig" ], "" )
189
189
190
- def test_exclude_runtiems_in_projects (self ):
190
+ def test_exclude_libcxx_in_projects (self ):
191
191
env_variables = compute_projects .get_env_variables (
192
192
["libcxx/CMakeLists.txt" ], "Linux"
193
193
)
@@ -197,6 +197,16 @@ def test_exclude_runtiems_in_projects(self):
197
197
self .assertEqual (env_variables ["runtimes_check_targets" ], "" )
198
198
self .assertEqual (env_variables ["runtimes_check_targets_needs_reconfig" ], "" )
199
199
200
+ def test_include_libc_in_runtimes (self ):
201
+ env_variables = compute_projects .get_env_variables (
202
+ ["libc/CMakeLists.txt" ], "Linux"
203
+ )
204
+ self .assertEqual (env_variables ["projects_to_build" ], "clang;lld" )
205
+ self .assertEqual (env_variables ["project_check_targets" ], "" )
206
+ self .assertEqual (env_variables ["runtimes_to_build" ], "libc" )
207
+ self .assertEqual (env_variables ["runtimes_check_targets" ], "check-libc" )
208
+ self .assertEqual (env_variables ["runtimes_check_targets_needs_reconfig" ], "" )
209
+
200
210
def test_exclude_docs (self ):
201
211
env_variables = compute_projects .get_env_variables (
202
212
["llvm/docs/CIBestPractices.rst" ], "Linux"
0 commit comments