8f1cc3a
diff --git a/scripts/test/simple_tests.pl b/scripts/test/simple_tests.pl
8f1cc3a
index d8b452f..ad932f5 100755
8f1cc3a
--- a/scripts/test/simple_tests.pl
8f1cc3a
+++ b/scripts/test/simple_tests.pl
8f1cc3a
@@ -14,8 +14,6 @@ use Data::Dumper;
8f1cc3a
 use DNA;
8f1cc3a
 use Clone qw(clone);
8f1cc3a
 use Test::Deep;
8f1cc3a
-use Sys::Info;
8f1cc3a
-use Sys::Info::Constants qw( :device_cpu );
8f1cc3a
 
8f1cc3a
 my $bowtie = "";
8f1cc3a
 my $bowtie_build = "";
8f1cc3a
@@ -1130,9 +1128,8 @@ sub runbowtie($$$$$$$$$$$$$$$$$$$$$$$) {
8f1cc3a
 	while(<FA>) { print $_; }
8f1cc3a
 	close(FA);
8f1cc3a
 	if($do_build) {
8f1cc3a
-		my $info = Sys::Info->new;
8f1cc3a
-		my $cpu = $info->device('CPU');
8f1cc3a
-		my $nthreads = int(rand($cpu->count || 1)) + 1;
8f1cc3a
+		my $cpu_count = 2;
8f1cc3a
+		my $nthreads = int(rand($cpu_count || 1)) + 1;
8f1cc3a
 		my $build_args = "";
8f1cc3a
 		$build_args .= " -C " if $color;
8f1cc3a
 		my $cmd = "$bowtie_build $idx_type --threads $nthreads --quiet --sanity $build_args $fa .simple_tests.tmp";
8f1cc3a
-- 
8f1cc3a
2.21.0
8f1cc3a