summaryrefslogtreecommitdiff
path: root/sci-biology/bcftools/files/bcftools-1.25-skip-trio-dnm3-without-plugins.patch
blob: aabb977ed4f850ceda723188390d558cfd80a15a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
test_trio_dnm3 needs the trio-dnm3 plugin, but unlike every other
plugin test it is not guarded by --plugins, so it fails when bcftools
is built with --disable-bcftools-plugins.

--- a/test/test.pl
+++ b/test/test.pl
@@ -2471,5 +2471,6 @@
 sub test_trio_dnm3
 {
     my ($opts,%args) = @_;
+    if ( !$$opts{test_plugins} ) { return; }
     test_cmd($opts,%args,cmd=>qq[export BCFTOOLS_PLUGINS=$$opts{bin}/plugins; $$opts{path}/trio-dnm3/test.sh $$opts{bin}/bcftools],out=>'trio-dnm3.1.out');
 }