summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwebkit/tools/layout_tests/run_webkit_tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/tools/layout_tests/run_webkit_tests.py b/webkit/tools/layout_tests/run_webkit_tests.py
index 2ffff36..d0f809e 100755
--- a/webkit/tools/layout_tests/run_webkit_tests.py
+++ b/webkit/tools/layout_tests/run_webkit_tests.py
@@ -551,9 +551,6 @@ class TestRunner:
logging.info("Starting tests")
- # Create the output directory if it doesn't already exist.
- path_utils.MaybeMakeDirectory(self._options.results_directory)
-
threads = self._InstantiateTestShellThreads(test_shell_binary)
# Wait for the threads to finish and collect test failures.
@@ -1069,6 +1066,9 @@ def main(options, args):
if options.test_list:
paths += ReadTestFiles(options.test_list)
+ # Create the output directory if it doesn't already exist.
+ path_utils.MaybeMakeDirectory(options.results_directory)
+
test_runner = TestRunner(options, paths)
if options.lint_test_files: