Fixed broken calls to _if_ninja_target_execute (#38992)

Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
This commit is contained in:
Ricard Zarco Badia 2023-08-10 09:34:02 +02:00 committed by GitHub
parent 532a37e7ba
commit 45c5af10c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -209,5 +209,5 @@ def install(self, pkg, spec, prefix):
def check(self):
"""Search Meson-generated files for the target ``test`` and run it if found."""
with fs.working_dir(self.build_directory):
self._if_ninja_target_execute("test")
self._if_ninja_target_execute("check")
self.pkg._if_ninja_target_execute("test")
self.pkg._if_ninja_target_execute("check")