Skip to content

Commit

Permalink
update test to reflect it is now an output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 committed Mar 5, 2024
1 parent f928bb4 commit 1259216
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions t/scripts_output.t
Original file line number Diff line number Diff line change
Expand Up @@ -238,22 +238,22 @@ $script = $script_prefix."bin/agat_sp_compare_two_annotations.pl";
$result = "$output_folder/agat_sp_compare_two_annotations_1.txt";
system(" $script --gff1 $input_folder/1.gff --gff2 $input_folder/1.gff -o $outtmp 2>&1 1>/dev/null");
#run test
ok( system("diff $result $outtmp") == 0, "output $script");
unlink $outtmp;
ok( system("diff $result $outtmp/report.txt") == 0, "output $script");
rmtree $outtmp;

$script = $script_prefix."bin/agat_sp_compare_two_annotations.pl";
$result = "$output_folder/agat_sp_compare_two_annotations_2.txt";
system(" $script --gff1 $input_folder/agat_sp_compare_two_annotations/file1.gff --gff2 $input_folder/agat_sp_compare_two_annotations/file2.gff -o $outtmp 2>&1 1>/dev/null");
#run test
ok( system("diff $result $outtmp") == 0, "output $script");
unlink $outtmp;
ok( system("diff $result $outtmp/report.txt") == 0, "output $script");
rmtree $outtmp;

$script = $script_prefix."bin/agat_sp_compare_two_annotations.pl";
$result = "$output_folder/agat_sp_compare_two_annotations_3.txt";
system(" $script --gff1 $input_folder/agat_sp_compare_two_annotations/file2.gff --gff2 $input_folder/agat_sp_compare_two_annotations/file1.gff -o $outtmp 2>&1 1>/dev/null");
#run test
ok( system("diff $result $outtmp") == 0, "output $script");
unlink $outtmp;
ok( system("diff $result $outtmp/report.txt") == 0, "output $script");
rmtree $outtmp;

# --------check agat_sp_compare_two_BUSCOs.pl -------------

Expand Down

0 comments on commit 1259216

Please sign in to comment.