File: test13

package info (click to toggle)
seqtools 4.44.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 28,468 kB
  • sloc: cpp: 53,636; sh: 12,199; makefile: 385
file content (25 lines) | stat: -rwxr-xr-x 559 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
#
# Description:
#   Create the tree using the UPGMA method and save it
#   in new-hampshire format (small alignment)

RC=0

test_name=`basename $0`
test_dir=`dirname $0`
data_dir=$test_dir/../../../data
results_file="$test_dir/$test_name""_results"

# Run belvu and check if there are any differences to the saved results
diffs=`belvu -T u -o tree $data_dir/PF02171_seed.selex >&1 | diff "$results_file" -`

# If there were any problems or differences, set RC
if [ $? -ne 0 -o "$diffs" != "" ]
then
  print "$test_name FAILED"
  RC=1
fi

exit $RC