2013-07-13 15:54:28 +04:00
|
|
|
#!/bin/echo Use sanitize-win-build-log.sh or sed -f
|
|
|
|
|
2012-03-03 02:48:56 +04:00
|
|
|
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
2010-12-17 06:46:15 +03:00
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
# Use this sed script to reduce a Windows build log into something
|
|
|
|
# machine-parsable.
|
|
|
|
|
|
|
|
# Drop uninformative lines.
|
2013-07-11 14:45:45 +04:00
|
|
|
/The operation completed successfully\./d
|
2010-12-17 06:46:15 +03:00
|
|
|
|
|
|
|
# Drop parallelization indicators on lines.
|
2013-07-13 15:54:28 +04:00
|
|
|
s/^[0-9]\+>//
|
2012-03-03 02:48:56 +04:00
|
|
|
|
|
|
|
# Shorten bindings generation lines
|
2013-07-13 15:54:28 +04:00
|
|
|
s/^.*"\(perl\|[^"]\+perl\.exe\)".*deprecated_generate_bindings\.pl".*\("[^"]\+\.idl"\).*$/ deprecated_generate_bindings \2/
|
|
|
|
s/^.*"python".*idl_compiler\.py".*\("[^"]\+\.idl"\).*$/ idl_compiler \1/
|