Author: Michael R. Crusoe 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 @@ -413,12 +413,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-*-)