public-inbox.git  about / heads / tags
an "archives first" approach to mailing lists
blob 5196618e2dce07555b821d7408c9471a3c64f26a 522 bytes (raw)
$ git show fuse3:t/lei_f3.t	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
#!perl -w
# Copyright (C) all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
use v5.12;
use Test::More;
eval { require PublicInbox::LeiF3 };
if (my $err = $@) {
	plan skip_all => "no C compiler $err";
}
eval { PublicInbox::LeiF3::build(); };
if (my $err = $@) {
	my $pkg_config = $ENV{PKG_CONFIG} // 'pkg-config';
	like($err, qr/$pkg_config.*failed/, 'build failed');
} else {
	ok(-x "$ENV{PERL_INLINE_DIRECTORY}/f3/lei.fuse",
		'built executable');
}

done_testing;

git clone https://public-inbox.org/public-inbox.git
git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/public-inbox.git