diff options
author | Eric Wong <e@80x24.org> | 2023-09-12 12:25:24 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-12 20:57:48 +0000 |
commit | bdcfcf5deb1411b244b6f9a7d842c0ec14544297 (patch) | |
tree | a577dbc4d1789f657f0831a14dee7cb8ef35da3f /lib/PublicInbox/TestCommon.pm | |
parent | 193783ca8247489877c1629b7685bae66ddb80d5 (diff) | |
download | public-inbox-bdcfcf5deb1411b244b6f9a7d842c0ec14544297.tar.gz |
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 (;$) { |