OLD | NEW |
| 1 #!/bin/echo Use sanitize-win-build-log.sh or sed -f |
| 2 |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # 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 |
3 # found in the LICENSE file. | 5 # found in the LICENSE file. |
4 | 6 |
5 # Use this sed script to reduce a Windows build log into something | 7 # Use this sed script to reduce a Windows build log into something |
6 # machine-parsable. | 8 # machine-parsable. |
7 | 9 |
8 # Drop uninformative lines. | 10 # Drop uninformative lines. |
9 /The operation completed successfully\./d | 11 /The operation completed successfully\./d |
10 | 12 |
11 # Drop parallelization indicators on lines. | 13 # Drop parallelization indicators on lines. |
12 s/^[0-9]+>// | 14 s/^[0-9]\+>// |
13 | 15 |
14 # Shorten bindings generation lines | 16 # Shorten bindings generation lines |
15 s/^.*"(perl|[^"]+perl\.exe)".*deprecated_generate_bindings\.pl".*("[^"]+\.idl").
*$/ deprecated_generate_bindings \2/ | 17 s/^.*"\(perl\|[^"]\+perl\.exe\)".*deprecated_generate_bindings\.pl".*\("[^"]\+\.
idl"\).*$/ deprecated_generate_bindings \2/ |
16 s/^.*"python".*idl_compiler\.py".*("[^"]+\.idl").*$/ idl_compiler \1/ | 18 s/^.*"python".*idl_compiler\.py".*\("[^"]\+\.idl"\).*$/ idl_compiler \1/ |
OLD | NEW |