Skip to content

Commit

Permalink
reduce test data size
Browse files Browse the repository at this point in the history
  • Loading branch information
emmarousseau committed Oct 7, 2024
1 parent 55cc2b5 commit ec76a94
Show file tree
Hide file tree
Showing 6 changed files with 235 additions and 2,085 deletions.
4 changes: 2 additions & 2 deletions src/agat/agat_sp_add_introns/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ trap clean_up EXIT

echo "> Run $meta_name with test data"
"$meta_executable" \
--gff "$test_dir/1.gff" \
--gff "$test_dir/1_truncated.gff" \
--output "$TMPDIR/output.gff"

echo ">> Checking output"
Expand All @@ -26,7 +26,7 @@ echo ">> Check if output is empty"
[ ! -s "$TMPDIR/output.gff" ] && echo "Output file output.gff is empty" && exit 1

echo ">> Check if output matches expected output"
diff "$TMPDIR/output.gff" "$test_dir/agat_sp_add_introns_1.gff"
diff "$TMPDIR/output.gff" "$test_dir/test_output.gff"
if [ $? -ne 0 ]; then
echo "Output file output.gff does not match expected output"
exit 1
Expand Down
Loading

0 comments on commit ec76a94

Please sign in to comment.