diff options
Diffstat (limited to 'lib/Debian/Debhelper/Buildsystem/meson.pm')
-rw-r--r-- | lib/Debian/Debhelper/Buildsystem/meson.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Debian/Debhelper/Buildsystem/meson.pm b/lib/Debian/Debhelper/Buildsystem/meson.pm index e18d1112..842991e9 100644 --- a/lib/Debian/Debhelper/Buildsystem/meson.pm +++ b/lib/Debian/Debhelper/Buildsystem/meson.pm @@ -109,7 +109,7 @@ sub test { my $target = $this->get_targetbuildsystem; eval { - if (compat(12) or $target->name ne 'ninja') { + if (compat(12) or $target->NAME ne 'ninja') { $target->test(@_); } else { # In compat 13 with meson+ninja, we prefer using "meson test" @@ -118,7 +118,7 @@ sub test { update_env => { 'LC_ALL' => 'C.UTF-8', } - ); + ); if ($this->get_parallel() > 0) { $options{update_env}{MESON_TESTTHREADS} = $this->get_parallel(); } |