summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 03:46:15 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-17 03:46:15 +0000
commit094b705690bf7e9d7bf787e6c4a88efc92d2cdd1 (patch)
tree8039a09fa18702dca2681646612b54ef05957485 /build
parentccea03c373e1efb8bd3d72212be656300e38ff1f (diff)
downloadchromium_src-094b705690bf7e9d7bf787e6c4a88efc92d2cdd1.zip
chromium_src-094b705690bf7e9d7bf787e6c4a88efc92d2cdd1.tar.gz
chromium_src-094b705690bf7e9d7bf787e6c4a88efc92d2cdd1.tar.bz2
emacs: make trybot parser work on offical windows build output
Review URL: http://codereview.chromium.org/5941003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/sanitize-mac-build-log.sed2
-rw-r--r--build/sanitize-win-build-log.sed14
-rwxr-xr-xbuild/sanitize-win-build-log.sh6
3 files changed, 21 insertions, 1 deletions
diff --git a/build/sanitize-mac-build-log.sed b/build/sanitize-mac-build-log.sed
index 274e282..d6cef78 100644
--- a/build/sanitize-mac-build-log.sed
+++ b/build/sanitize-mac-build-log.sed
@@ -1,4 +1,4 @@
-#!/bin/echo Use sanitize-mac-build-log.sh or sed -f
+#!/bin/echo Use sanitize-mac-build-log.sh or sed -f
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
diff --git a/build/sanitize-win-build-log.sed b/build/sanitize-win-build-log.sed
new file mode 100644
index 0000000..d6d049c
--- /dev/null
+++ b/build/sanitize-win-build-log.sed
@@ -0,0 +1,14 @@
+#!/bin/echo Use sanitize-win-build-log.sh or sed -f
+
+# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+# 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.
+/The operation completed successfully./d
+
+# Drop parallelization indicators on lines.
+s/^[0-9]\+>//
diff --git a/build/sanitize-win-build-log.sh b/build/sanitize-win-build-log.sh
new file mode 100755
index 0000000..dc743fa
--- /dev/null
+++ b/build/sanitize-win-build-log.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+sed -f `dirname "${0}"`/`basename "${0}" sh`sed
+