Package: bowtie / 1.3.0+dfsg1-1

simple-test Patch series | download
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
37
38
39
Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: Sys::Info isn't packaged for Debian, so work around it
--- a/scripts/test/simple_tests.pl
+++ b/scripts/test/simple_tests.pl
@@ -1000,7 +1000,7 @@ sub runbowtie($$$$$$$$$$$$$$$$$$$$$$$) {
 		my $nthreads = int(rand($cpu->count || 1)) + 1;
 		my $build_args = "";
 		$build_args .= " -C " if $color;
-		my $cmd = "$bowtie_build $idx_type --threads $nthreads --quiet --sanity $build_args $fa .simple_tests.tmp";
+		my $cmd = "$bowtie_build $idx_type --quiet $build_args $fa .simple_tests.tmp";
 		print "$cmd\n";
 		system($cmd);
 		($? == 0) || die "Bad exitlevel from bowtie-build: $?";
@@ -1150,7 +1150,7 @@ sub matchSamOptionalFlags($$) {
 my $tmpfafn = ".simple_tests.pl.fa";
 my $last_ref = undef;
 foreach my $large_idx (undef,1) {
-	foreach my $debug_mode (1,undef) {
+	foreach my $debug_mode (undef) {
 		for (my $ci = 0; $ci < scalar(@cases); $ci++) {
 			my $c = $cases[$ci];
 			last unless defined($c);
--- a/Makefile
+++ b/Makefile
@@ -429,12 +429,11 @@ install: all
 	done
 
 .PHONY: simple-test
-simple-test: allall perl-deps
-	eval `perl -I $(CURDIR)/.perllib.tmp/lib/perl5 -Mlocal::lib=$(CURDIR)/.perllib.tmp` ; \
+simple-test: all
 	./scripts/test/simple_tests.pl --bowtie=./bowtie --bowtie-build=./bowtie-build
 
 .PHONY: random-test
-random-test: all perl-deps
+random-test: all
 	eval `perl -I $(CURDIR)/.perllib.tmp/lib/perl5 -Mlocal::lib=$(CURDIR)/.perllib.tmp` ; \
 	./scripts/test/random_bowtie_tests.sh $(*-command-variables-*-)