| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 | 2 |
| 3 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 exec_dir=$(dirname $0) | 7 exec_dir=$(dirname $0) |
| 8 | 8 |
| 9 if grep -q REBASELINE $exec_dir/test_expectations.txt ; then | 9 if grep -q REBASELINE $exec_dir/test_expectations.txt ; then |
| 10 echo "test_expectations.txt has been moved upstream! The test_expectations.txt
" | 10 echo "test_expectations.txt has been moved upstream! The test_expectations.txt
" |
| 11 echo "here is just a set of local overrides. You have to put the REBASELINE " | 11 echo "here is just a set of local overrides. You have to put the REBASELINE " |
| 12 echo "tags in the upstream version and commit the new baselines into the WebKi
t" | 12 echo "tags in the upstream version and commit the new baselines into the WebKi
t" |
| 13 echo "tree." | 13 echo "tree." |
| 14 echo | 14 echo |
| 15 echo "Try:" | 15 echo "Try:" |
| 16 echo "cd ../../../third_party/WebKit" | 16 echo "cd ../../../third_party/WebKit" |
| 17 echo "\$EDITOR LayoutTests/platform/chromium/test_expectations.txt" | 17 echo "\$EDITOR LayoutTests/platform/chromium/test_expectations.txt" |
| 18 echo "./WebKitTools/Scripts/rebaseline-chromium-webkit-tests" | 18 echo "./Tools/Scripts/rebaseline-chromium-webkit-tests" |
| 19 echo | 19 echo |
| 20 echo "See also https://trac.webkit.org/wiki/Rebaseline" | 20 echo "See also https://trac.webkit.org/wiki/Rebaseline" |
| 21 exit 1 | 21 exit 1 |
| 22 fi | 22 fi |
| 23 | 23 |
| 24 PYTHON_PROG=python | 24 PYTHON_PROG=python |
| 25 | 25 |
| 26 "$PYTHON_PROG" "$exec_dir/../../../third_party/WebKit/WebKitTools/Scripts/rebase
line-chromium-webkit-tests" "$@" | 26 "$PYTHON_PROG" "$exec_dir/../../../third_party/WebKit/Tools/Scripts/rebaseline-c
hromium-webkit-tests" "$@" |
| OLD | NEW |