File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,8 @@ def _compute_runtimes_to_build(
229229 for modified_project in modified_projects :
230230 if modified_project in DEPENDENT_RUNTIMES_TO_BUILD :
231231 runtimes_to_build .update (DEPENDENT_RUNTIMES_TO_BUILD [modified_project ])
232+ if modified_project in RUNTIMES :
233+ runtimes_to_build .add (modified_project )
232234 return _exclude_projects (runtimes_to_build , platform )
233235
234236
Original file line number Diff line number Diff line change @@ -187,14 +187,14 @@ 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_runtimes_in_projects (self ):
191191 env_variables = compute_projects .get_env_variables (
192192 ["libcxx/CMakeLists.txt" ], "Linux"
193193 )
194194 self .assertEqual (env_variables ["projects_to_build" ], "" )
195195 self .assertEqual (env_variables ["project_check_targets" ], "" )
196- self .assertEqual (env_variables ["runtimes_to_build" ], "" )
197- self .assertEqual (env_variables ["runtimes_check_targets" ], "" )
196+ self .assertEqual (env_variables ["runtimes_to_build" ], "libcxx " )
197+ self .assertEqual (env_variables ["runtimes_check_targets" ], "check-cxx " )
198198 self .assertEqual (env_variables ["runtimes_check_targets_needs_reconfig" ], "" )
199199
200200 def test_exclude_docs (self ):
You can’t perform that action at this time.
0 commit comments