1 # -*-Perl-*- Test Harness script for Bioperl
4 # `make test'. After `make install' it should work as `perl test.t'
11 test_begin(-tests => 2);
16 my $verbose = test_debug();
18 # asciitree is a write-only format
19 my $in = Bio::SeqIO->new(-format => 'genbank',
21 -file => test_input_file('AE003644_Adh-genomic.gb'));
22 my $seq = $in->next_seq;
24 my $out_file = test_output_file();
25 my $out = Bio::SeqIO->new(-file => ">".$out_file,
27 -format => 'asciitree');
28 $out->write_seq($seq);
30 # this is a bug and is failing on some systems like IRIX (not sure why, maybe
34 ok(1, "File exists, has contents on ".$^O);
37 local $TODO = "Output doesn't exists on ".$^O;