projects
/
invirt/third/libt4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e478ac5
)
Partially fixed a bug in the test suite that led to test runs randomly failing.
author
Peter Iannucci
<iannucci@mit.edu>
Wed, 2 Oct 2013 01:42:40 +0000
(21:42 -0400)
committer
Peter Iannucci
<iannucci@mit.edu>
Wed, 2 Oct 2013 01:42:40 +0000
(21:42 -0400)
rsm_tester.pl
patch
|
blob
|
history
diff --git
a/rsm_tester.pl
b/rsm_tester.pl
index
c99c66f
..
3d94744
100755
(executable)
--- a/
rsm_tester.pl
+++ b/
rsm_tester.pl
@@
-67,7
+67,7
@@
sub randports {
my $num = shift;
my @p = ();
for( my $i = 0; $i < $num; $i++ ) {
- push( @p, int(rand(54000))+10000 );
+ push( @p, int(rand(54000/2))*2+10000 );
}
my @sp = sort { $a <=> $b } @p;
return @sp;