File: test_np_edit

package info (click to toggle)
caftools 2.0.3-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye
  • size: 10,844 kB
  • sloc: ansic: 24,940; sh: 3,628; perl: 452; makefile: 150
file content (34 lines) | stat: -rwxr-xr-x 578 bytes parent folder | download | duplicates (5)
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
26
27
28
29
30
31
32
33
34
#!/usr/local/bin/perl


#..do this to pick up TestTools.
BEGIN { unshift(@INC,"./test_data/"); }

use TestTools;
use strict;

my $test_handle = TestTools->new(tests_to_run => 7);


$test_handle->run_tested("< test.caf > test.out 2>/dev/null");

$test_handle->readCafFile('test.out');

$test_handle->check_null();

$test_handle->checkForMissingInfo();

$test_handle->checkRawSequences();

$test_handle->check_seq_quality_length();

my $std = $test_handle->read_standard_output();

$test_handle->compare_against_caf($std);


exit;

END {
    $test_handle->print_test_results();
}