Changeset 53015 in webkit
- Timestamp:
- Jan 8, 2010 3:22:57 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r53013 r53015 1 2010-01-08 Andras Becsi <abecsi@inf.u-szeged.hu> 2 3 Reviewed by Alexey Proskuryakov. 4 5 Only run http and websocket tests as last if no argument is given to be able to explicitly control the test order. 6 7 To be able to run multiple instances of run-webkit-tests besides each other on the same machine we need to minimize 8 the time when Apache and WebSocketServer is locked by tests. 9 Because closeHTTPD() and closeWebSocketServer() is only called at the end of the testing, 10 we need to run http and websocket tests after all other tests. 11 If one however explicitly specifies the tests to run in the argument list of run-webkit-tests 12 we need to preserve the given order. 13 14 * Scripts/run-webkit-tests: 15 1 16 2010-01-08 Adam Barth <abarth@webkit.org> 2 17 -
trunk/WebKitTools/Scripts/run-webkit-tests
r52976 r53015 2222 2222 @testsToRun = sort pathcmp @testsToRun; 2223 2223 2224 my @httpTests; 2225 my @websocketTests; 2226 my @otherTests; 2227 foreach my $test (@testsToRun) { 2228 if ($test =~ /^http\//) { 2229 push(@httpTests, $test); 2230 } elsif ($test =~ /^websocket\//) { 2231 push(@websocketTests, $test); 2232 } else { 2233 push(@otherTests, $test); 2234 } 2235 } 2236 @testsToRun = (@otherTests, @httpTests, @websocketTests); 2224 # We need to minimize the time when Apache and WebSocketServer is locked by tests 2225 # so run them last if no explicit order was specified in the argument list. 2226 if (!scalar @ARGV) { 2227 my @httpTests; 2228 my @websocketTests; 2229 my @otherTests; 2230 foreach my $test (@testsToRun) { 2231 if ($test =~ /^http\//) { 2232 push(@httpTests, $test); 2233 } elsif ($test =~ /^websocket\//) { 2234 push(@websocketTests, $test); 2235 } else { 2236 push(@otherTests, $test); 2237 } 2238 } 2239 @testsToRun = (@otherTests, @httpTests, @websocketTests); 2240 } 2237 2241 2238 2242 # Reverse the tests
Note: See TracChangeset
for help on using the changeset viewer.