diff options
Diffstat (limited to 'lib/PublicInbox/TestCommon.pm')
-rw-r--r-- | lib/PublicInbox/TestCommon.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm index b1a37ced..a8323e4d 100644 --- a/lib/PublicInbox/TestCommon.pm +++ b/lib/PublicInbox/TestCommon.pm @@ -105,7 +105,8 @@ sub require_cmd ($;$) { my $bin = $CACHE{$cmd} //= PublicInbox::Spawn::which($cmd); return $bin if $bin; return plan(skip_all => "$cmd missing from PATH for $0") if !$nr; - defined(wantarray) ? undef : skip("$cmd missing, skipping $nr tests") + defined(wantarray) ? undef : + skip("$cmd missing, skipping $nr tests", $nr); } sub have_xapian_compact (;$) { |