perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1127812 - in /perl/Apache-Test/trunk: Changes README lib/Apache/TestSort.pm
Date Thu, 26 May 2011 07:48:19 GMT
Author: rjung
Date: Thu May 26 07:48:18 2011
New Revision: 1127812

URL: http://svn.apache.org/viewvc?rev=1127812&view=rev
Log:
Run t/TEST tests by default in alphabetical order and
only t/SMOKE tests by default in random order.

Modified:
    perl/Apache-Test/trunk/Changes
    perl/Apache-Test/trunk/README
    perl/Apache-Test/trunk/lib/Apache/TestSort.pm

Modified: perl/Apache-Test/trunk/Changes
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/Changes?rev=1127812&r1=1127811&r2=1127812&view=diff
==============================================================================
--- perl/Apache-Test/trunk/Changes (original)
+++ perl/Apache-Test/trunk/Changes Thu May 26 07:48:18 2011
@@ -8,6 +8,9 @@ Changes - Apache::Test change logfile
 
 =item 1.37-dev
 
+Run t/TEST tests by default in alphabetical order and
+only t/SMOKE tests by default in random order. [Rainer Jung]
+
 Add t_file_watch_for to Apache::TestUtil [Torsten Foertsch]
 
 Add $boolean parameter to Apache::TestHandler::ok and Apache::TestHandler::ok1

Modified: perl/Apache-Test/trunk/README
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/README?rev=1127812&r1=1127811&r2=1127812&view=diff
==============================================================================
--- perl/Apache-Test/trunk/README (original)
+++ perl/Apache-Test/trunk/README Thu May 26 07:48:18 2011
@@ -203,17 +203,14 @@ run all tests through mod_proxy
 
 run all tests 10 times in a random order (the seed is autogenerated
 and reported) 
-% t/TEST -times=10 -order=random
+% t/SMOKE -times=10 -order=random
 
 run all tests 10 times in a random order using the seed obtained from
 the previous random run (e.g. 2352211):
-% t/TEST -times=10 -order=2352211
+% t/SMOKE -times=10 -order=2352211
 
 rotate all tests 10 times (a, b, c, a, b, c)
-% t/TEST -times=10 -order=rotate
-
-repeat all tests 10 times (a, a, b, b, c, c)
-% t/TEST -times=10 -order=repeat
+% t/SMOKE -times=10 -order=repeat
 
 When certain tests fail when running with -times option, you want to
 find out the minimal sequence of tests that lead to the

Modified: perl/Apache-Test/trunk/lib/Apache/TestSort.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestSort.pm?rev=1127812&r1=1127811&r2=1127812&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestSort.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestSort.pm Thu May 26 07:48:18 2011
@@ -54,7 +54,7 @@ sub random {
 sub run {
     my($self, $list, $args) = @_;
 
-    my $order = $args->{order} || 'random';
+    my $order = $args->{order} || 'repeat';
     if ($order =~ /^\d+$/) {
         #dont want an explicit -seed option but env var can be a pain
         #so if -order is number assume it is the random seed



Mime
View raw message