Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Unified Diff: slave/skia_slave_scripts/chrome_drt_canary_run_webkit_tests.py

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Address comment Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: slave/skia_slave_scripts/chrome_drt_canary_run_webkit_tests.py
diff --git a/slave/skia_slave_scripts/chrome_drt_canary_run_webkit_tests.py b/slave/skia_slave_scripts/chrome_drt_canary_run_webkit_tests.py
deleted file mode 100644
index bd7b1f060e725ff56cef47118d071394af6cca23..0000000000000000000000000000000000000000
--- a/slave/skia_slave_scripts/chrome_drt_canary_run_webkit_tests.py
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-""" Run the WebKit tests. """
-
-from build_step import BuildStep, BuildStepWarning
-from py.utils import shell_utils
-import os
-import sys
-
-
-class ChromeDRTCanaryRunWebkitTests(BuildStep):
- def __init__(self, timeout=16800, no_output_timeout=16800, **kwargs):
- super(ChromeDRTCanaryRunWebkitTests, self).__init__(
- timeout=timeout, no_output_timeout=no_output_timeout, **kwargs)
-
- def _Run(self):
- test_script_path = os.path.join('webkit', 'tools', 'layout_tests',
- 'run_webkit_tests.sh')
- cmd = [
- test_script_path, '--build-directory', 'out', '--nocheck-sys-deps',
- '--additional-platform-directory=%s' %
- self._flavor_utils.baseline_dir,
- '--no-show-results'
- ]
- if 'new_baseline' in self._args:
- cmd.append('--new-baseline')
- if self._configuration == 'Debug':
- cmd.append('--debug')
- if 'write_results' in self._args:
- cmd.append('--results-directory=%s' % self._flavor_utils.result_dir)
- try:
- shell_utils.run(cmd)
- except Exception as e:
- # Allow this step to fail with a warning, since we expect to see a lot of
- # failures which aren't our fault. Instead, we care about the diffs.
- raise BuildStepWarning(e)
-
-
-if '__main__' == __name__:
- sys.exit(BuildStep.RunBuildStep(ChromeDRTCanaryRunWebkitTests))
« no previous file with comments | « slave/skia_slave_scripts/chrome_drt_canary_pretest.py ('k') | slave/skia_slave_scripts/chrome_drt_canary_upload_results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698