diff options
author | Afif Elghraoui <afif@ghraoui.name> | 2023-12-15 11:59:02 +0100 |
---|---|---|
committer | Étienne Mollier <emollier@debian.org> | 2023-12-15 11:59:02 +0100 |
commit | 2a27df2baa11ef52eae601d80fc15096301f3465 (patch) | |
tree | baa2d4253742ae1189e720121d62d8f3a4b816da | |
parent | df8d5197eb9ddb8ec95c8c081cfa5adaedd34c97 (diff) |
Set the bcftools plugin path to search system directories
Forwarded: not-needed
Last-Update: 2015-11-09
The tests were intended to be run at build time only, so the test
script sets the plugins to be searched for /only/ in the build directory.
It does so by setting the environment variable BCFTOOLS_PLUGINS. However,
as described in the manpage bcftools(1), adding a colon to either side of
the path entry in the environment variable also searches the system
directories. We need this for autopkgtest to work.
Gbp-Pq: Name tests-pluginpath.patch
-rwxr-xr-x | test/test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.pl b/test/test.pl index a87c227..f071df4 100755 --- a/test/test.pl +++ b/test/test.pl @@ -1742,7 +1742,7 @@ sub test_vcf_plugin { my ($opts,%args) = @_; if ( !$$opts{test_plugins} ) { return; } - $ENV{BCFTOOLS_PLUGINS} = "$$opts{bin}/plugins"; + $ENV{BCFTOOLS_PLUGINS} = "$$opts{bin}/plugins:"; if ( !exists($args{args}) ) { $args{args} = ''; } my $wpath = $$opts{path}; if ($^O =~ /^msys/) { |