Description: Use the installed scripts in t/00-compile during autopkgtest
Forwarded: not-needed
Author: Carnë Draug <carandraug+dev@gmail.com>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2020-01-29

--- a/t/00-compile.t
+++ b/t/00-compile.t
@@ -30,9 +30,10 @@
     'Bio/Tools/EUtilities/Summary/ItemContainerI.pm'
 );
 
-my @scripts = (
-    'bin/bp_einfo',
-    'bin/bp_genbank_ref_extractor'
+my $bindir = $ENV{AUTOPKGTEST_TMP} ? '/usr/bin' : 'bin';
+my @scripts = map { "$bindir/$_" } (
+    'bp_einfo',
+    'bp_genbank_ref_extractor'
 );
 
 # no fake home requested
