OLD | NEW |
---|---|
(Empty) | |
1 #!/usr/bin/env bash | |
2 # Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
3 # Use of this source code is governed by a BSD-style license that can be | |
4 # found in the LICENSE file. | |
5 | |
6 # Get the full directory path of this script regardless of where it's run from | |
7 # Based on: http://stackoverflow.com/questions/59895/can-a-bash-script-tell-whic h-directory-it-is-stored-in | |
8 SCRIPT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)" | |
9 | |
10 CHROMIUM_ROOT_PATH=${SCRIPT_PATH}"/../../../../.." | |
11 OUT_PATH=${CHROMIUM_ROOT_PATH}"/out/Release" | |
12 RUN_LAYOUT_TEST_PATH=${CHROMIUM_ROOT_PATH}"/blink/tools/run_layout_tests.py" | |
13 | |
14 INSPECTOR_TEST_SUITES="inspector inspector-protocol inspector-enabled http/tests /inspector" | |
15 | |
16 ninja -C ${OUT_PATH} -j 1000 chrome blink_tests | |
17 ${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
| |
OLD | NEW |