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

Unified Diff: third_party/WebKit/Source/devtools/scripts/run_inspector_tests.sh

Issue 2262743002: DevTools: Run devtools tests in release mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify build process Created 4 years, 4 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: third_party/WebKit/Source/devtools/scripts/run_inspector_tests.sh
diff --git a/third_party/WebKit/Source/devtools/scripts/run_inspector_tests.sh b/third_party/WebKit/Source/devtools/scripts/run_inspector_tests.sh
new file mode 100755
index 0000000000000000000000000000000000000000..093ffe244f71e2745f41c8f15931b537b8e19e90
--- /dev/null
+++ b/third_party/WebKit/Source/devtools/scripts/run_inspector_tests.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+# Copyright (c) 2016 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.
+
+# Get the full directory path of this script regardless of where it's run from
+# Based on: http://stackoverflow.com/questions/59895/can-a-bash-script-tell-which-directory-it-is-stored-in
+SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
+
+CHROMIUM_ROOT_PATH=${SCRIPT_PATH}"/../../../../.."
+OUT_PATH=${CHROMIUM_ROOT_PATH}"/out/Release"
+RUN_LAYOUT_TEST_PATH=${CHROMIUM_ROOT_PATH}"/blink/tools/run_layout_tests.py"
+
+INSPECTOR_TEST_SUITES="inspector inspector-protocol inspector-enabled http/tests/inspector"
+
+ninja -C ${OUT_PATH} -j 1000 chrome blink_tests
+${RUN_LAYOUT_TEST_PATH} ${INSPECTOR_TEST_SUITES} --child-processes=16 "$@"
chenwilliam 2016/08/29 17:48:37 You can override the 16 child-process configuratio

Powered by Google App Engine
This is Rietveld 408576698