File: gthconsensus_include.rb

package info (click to toggle)
genomethreader 1.7.3%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 46,528 kB
  • sloc: ansic: 90,168; ruby: 1,769; makefile: 548; sh: 112; perl: 105
file content (36 lines) | stat: -rw-r--r-- 1,031 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
26
27
28
29
30
31
32
33
34
35
36
Name "gthconsensus -help"
Keywords "gthconsensus"
Test do
  run_test "#{$bin}gthconsensus -help"
  run "grep -v ^Usage: #{$last_stdout}"
  run "diff --strip-trailing-cr #{$last_stdout} #{$testdata}gthconsensus/gthconsensus_-help.out"
end

Name "gthconsensus -help+"
Keywords "gthconsensus"
Test do
  run_test "#{$bin}gthconsensus -help+"
  run "grep -v ^Usage: #{$last_stdout}"
  run "diff --strip-trailing-cr #{$last_stdout} #{$testdata}gthconsensus/gthconsensus_-help+.out"
end

Name "gthconsensus empty_file"
Keywords "gthconsensus"
Test do
  run_test("#{$bin}gthconsensus #{$testdata}empty_file", :retval => 1)
  grep $last_stderr, "no element found"
end

Name "gthconsensus empty_file.gz"
Keywords "gthconsensus"
Test do
  run_test("#{$bin}gthconsensus #{$testdata}empty_file.gz", :retval => 1)
  grep $last_stderr, "no element found"
end

Name "gthconsensus empty_file.bz2"
Keywords "gthconsensus"
Test do
  run_test("#{$bin}gthconsensus #{$testdata}empty_file.bz2", :retval => 1)
  grep $last_stderr, "no element found"
end