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