File: run-unit-test

package info (click to toggle)
racon 1.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,452 kB
  • sloc: cpp: 2,560; python: 255; makefile: 36; sh: 27
file content (17 lines) | stat: -rwxr-xr-x 566 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
set -e

# run racon with package test data
/usr/bin/racon /usr/share/doc/racon/examples/data/sample_reads.fastq.gz \
	/usr/share/doc/racon/examples/data/sample_overlaps.paf.gz \
	/usr/share/doc/racon/examples/data/sample_layout.fasta.gz > ${AUTOPKGTEST_TMP}/racon.stdout

# compare output with expected output
if diff -q ${AUTOPKGTEST_TMP}/racon.stdout debian/tests/racon.expected 2>/dev/null ; then
    echo "racon output matches expected output"
    echo "PASS"
    exit 0
fi

echo "FAIL racon output does not match debian/tests/racon.expected"
exit 1