Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/bin/echo Use sanitize-win-build-log.sh or sed -f | 1 #!/bin/echo Use sanitize-win-build-log.sh or sed -f |
| 2 | 2 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 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 # 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 |
| 8 # machine-parsable. | 8 # machine-parsable. |
| 9 | 9 |
| 10 # Drop uninformative lines. | 10 # Drop uninformative lines. |
| 11 /The operation completed successfully./d | 11 /The operation completed successfully./d |
| 12 | 12 |
| 13 # Drop parallelization indicators on lines. | 13 # Drop parallelization indicators on lines. |
| 14 s/^[0-9]\+>// | 14 s/^[0-9]\+>// |
| 15 | 15 |
| 16 # Shorten bindings generation lines | 16 # Shorten bindings generation lines |
| 17 s/^.*"perl".*generate-bindings.pl".*\("[^"]\+\.idl"\).*$/ generate-bindings \1/ | 17 s/^.*"perl".*parse-idl.pl".*\("[^"]\+\.idl"\).*$/ parse-idl \1/ |
|
dominicc (has gone to gerrit)
2013/06/19 02:42:13
I think that the original pattern may mistakenly d
Nils Barth (inactive)
2013/06/19 02:49:35
Good point, fixed!
| |
| 18 s/^.*"perl".*compile-json.pl".*\("[^"]\+\.idl"\).*$/ compile-json \1/ | |
| OLD | NEW |