Commit 61fb3cf5 authored by aroben@apple.com's avatar aroben@apple.com

Make run-api-tests run tests in alphabetical order

Fixes <http://webkit.org/b/66401> run-api-tests runs tests in a semi-random order

Reviewed by David Kilzer.

* Scripts/run-api-tests:
(runAllTests):
(runAllTestsInSuite):
Sort the lists of tests and suites before iterating over them.

git-svn-id: svn://svn.chromium.org/blink/trunk@93240 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 54702566
2011-08-17 Adam Roben <aroben@apple.com>
Make run-api-tests run tests in alphabetical order
Fixes <http://webkit.org/b/66401> run-api-tests runs tests in a semi-random order
Reviewed by David Kilzer.
* Scripts/run-api-tests:
(runAllTests):
(runAllTestsInSuite):
Sort the lists of tests and suites before iterating over them.
2011-08-17 Adam Barth <abarth@webkit.org>
garden-o-matic should be able to rebaseline expected failures
......@@ -106,7 +106,7 @@ sub dumpAllTests()
sub runAllTests()
{
my $anyFailures = 0;
for my $suite (keys %testsToRun) {
for my $suite (sort keys %testsToRun) {
my $failed = runAllTestsInSuite($suite);
if ($failed) {
$anyFailures = 1;
......@@ -121,7 +121,7 @@ sub runAllTestsInSuite($)
print "Suite: $suite\n" unless $verbose;
my $anyFailures = 0;
for my $test (@{$testsToRun{$suite}}) {
for my $test (sort @{$testsToRun{$suite}}) {
my $failed = runTest($suite, $test);
if ($failed) {
$anyFailures = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment