Unreviewed, Chromium build fix.
authordumi@chromium.org <dumi@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Mar 2010 05:34:31 +0000 (05:34 +0000)
committerdumi@chromium.org <dumi@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Mar 2010 05:34:31 +0000 (05:34 +0000)
Reverting r55689.

* Scripts/webkitpy/layout_tests/run_webkit_tests.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@55709 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Scripts/webkitpy/layout_tests/run_webkit_tests.py

index d928c8b56ee77dc7013fbecde6fbc87073665982..de583e93f5ac15b3a3714345edebee111b826f05 100644 (file)
@@ -1,3 +1,11 @@
+2010-03-08  Dumitru Daniliuc  <dumi@chromium.org>
+
+        Unreviewed, Chromium build fix.
+
+        Reverting r55689.
+
+        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
+
 2010-03-08  Fumitoshi Ukai  <ukai@chromium.org>
 
         Reviewed by Adam Barth.
index 5467a3bf9466f68ae5610def97948f1b24fa18f9..1c139af6268988341d693cabf6cb85f90bccd91b 100755 (executable)
@@ -1409,14 +1409,9 @@ def main(options, args):
         # Just clobber the actual test results directories since the other
         # files in the results directory are explicitly used for cross-run
         # tracking.
-        meter.update("Clobbering old results in %s" %
-                     options.results_directory)
-        layout_tests_dir = path_utils.layout_tests_dir()
-        possible_dirs = os.listdir(layout_tests_dir)
-        for dirname in possible_dirs:
-            if os.path.isdir(os.path.join(layout_tests_dir, dirname)):
-                shutil.rmtree(os.path.join(options.results_directory, dirname),
-                              ignore_errors=True)
+        path = os.path.join(options.results_directory, 'LayoutTests')
+        if os.path.exists(path):
+            shutil.rmtree(path)
 
     if not options.num_test_shells:
         # TODO(ojan): Investigate perf/flakiness impact of using numcores + 1.