@@ -187,7 +187,7 @@ def test_top_level_file(self):
187187 self .assertEqual (env_variables ["runtimes_check_targets" ], "" )
188188 self .assertEqual (env_variables ["runtimes_check_targets_needs_reconfig" ], "" )
189189
190- def test_exclude_runtiems_in_projects (self ):
190+ def test_exclude_libcxx_in_projects (self ):
191191 env_variables = compute_projects .get_env_variables (
192192 ["libcxx/CMakeLists.txt" ], "Linux"
193193 )
@@ -197,6 +197,16 @@ def test_exclude_runtiems_in_projects(self):
197197 self .assertEqual (env_variables ["runtimes_check_targets" ], "" )
198198 self .assertEqual (env_variables ["runtimes_check_targets_needs_reconfig" ], "" )
199199
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+
200210 def test_exclude_docs (self ):
201211 env_variables = compute_projects .get_env_variables (
202212 ["llvm/docs/CIBestPractices.rst" ], "Linux"
0 commit comments