source: branches/help/PERL_SCRIPTS/test/check_arb.pl

Last change on this file was 8318, checked in by westram, 13 years ago
  • repaired compile-tests for delivered perl-macros and -scripts
    • was broken by [6318]
    • now tests whether Lint/LintSubs? is installed
      • if not installed → accept failure
      • if installed → fail compilation if scripts do not compile
    • test whether Bioperl is installed
      • if not installed → accept failure on scripts in BIOPERL folder
      • if installed → fail compilation if scripts there do not compile
File size: 340 bytes
Line 
1#!perl
2# this script is used to test whether ARB perl module is installed and useable
3use strict;
4use warnings;
5
6BEGIN {
7  if (not exists $ENV{'ARBHOME'}) { die "Environment variable \$ARBHOME has to be defined"; }
8  my $arbhome = $ENV{'ARBHOME'};
9  push @INC, "$arbhome/lib";
10  push @INC, "$arbhome/PERL_SCRIPTS/GENOME";
11  1;
12}
13
14use ARB;
15
Note: See TracBrowser for help on using the repository browser.