diff options
author | Eric Wong <e@80x24.org> | 2019-02-06 23:12:10 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-02-07 21:38:34 +0000 |
commit | 66f3f784a864a752c40b9aecf120aefdfc31e5c8 (patch) | |
tree | c999bd1126bf7c8eb98e1da9f90b0b702c89687b /t | |
parent | 285b9b4d7de53b0d607be81fd608d40da82a2fad (diff) | |
download | public-inbox-66f3f784a864a752c40b9aecf120aefdfc31e5c8.tar.gz |
No point in making noise about something that isn't used.
Diffstat (limited to 't')
-rw-r--r-- | t/perf-msgview.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/perf-msgview.t b/t/perf-msgview.t index adeb7aac..4975305a 100644 --- a/t/perf-msgview.t +++ b/t/perf-msgview.t @@ -8,6 +8,9 @@ use PublicInbox::Inbox; use PublicInbox::View; require './t/common.perl'; +my $pi_dir = $ENV{GIANT_PI_DIR}; +plan skip_all => "GIANT_PI_DIR not defined for $0" unless $pi_dir; + my @cat = qw(cat-file --buffer --batch-check --batch-all-objects); if (require_git(2.19, 1)) { push @cat, '--unordered'; @@ -16,9 +19,6 @@ if (require_git(2.19, 1)) { "git <2.19, cat-file lacks --unordered, locality suffers\n"; } -my $pi_dir = $ENV{GIANT_PI_DIR}; -plan skip_all => "GIANT_PI_DIR not defined for $0" unless $pi_dir; - my $ibx = PublicInbox::Inbox->new({ mainrepo => $pi_dir, name => 'name' }); my $git = $ibx->git; my $fh = $git->popen(@cat); |