diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-03 19:55:35 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-03 19:55:35 +0000 |
commit | e659e96f602d9115021afbffc1bd8a706de308d6 (patch) | |
tree | c7b43111946c27f70e92977d76a24673fdd05799 /tools/emacs/trybot.el | |
parent | 42f50f84200a452288f11f883dcd898ababbed50 (diff) | |
download | chromium_src-e659e96f602d9115021afbffc1bd8a706de308d6.zip chromium_src-e659e96f602d9115021afbffc1bd8a706de308d6.tar.gz chromium_src-e659e96f602d9115021afbffc1bd8a706de308d6.tar.bz2 |
emacs: check in test file for failing mac build output
This allows you to run the test, but we don't parse the output correctly yet.
Review URL: http://codereview.chromium.org/5569003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/emacs/trybot.el')
-rw-r--r-- | tools/emacs/trybot.el | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/tools/emacs/trybot.el b/tools/emacs/trybot.el index 6ced9b6..b448799 100644 --- a/tools/emacs/trybot.el +++ b/tools/emacs/trybot.el @@ -8,7 +8,7 @@ ; ; To hack on this, ; M-x eval-buffer -; M-x trybot-test +; M-x trybot-test-win or M-x trybot-test-mac (defvar chrome-root nil "Path to the src/ directory of your Chrome checkout.") @@ -74,18 +74,26 @@ ;; Switch into compilation mode. (compilation-mode)) -(defun trybot-test () - "Load our test data and do the trybot parse on it." - (interactive) +(defun trybot-test (filename) + "Load the given test data filename and do the trybot parse on it." (switch-to-buffer (get-buffer-create "*trybot-test*")) (let ((inhibit-read-only t)) (erase-buffer) (insert-file-contents-literally - (concat (get-chrome-root) "tools/emacs/trybot-windows.txt")) + (concat (get-chrome-root) "tools/emacs/" filename)) (trybot-fixup))) +(defun trybot-test-win () + "Load the Windows test data and do the trybot parse on it." + (interactive) + (trybot-test "trybot-windows.txt")) +(defun trybot-test-mac () + "Load the Mac test data and do the trybot parse on it." + (interactive) + (trybot-test "trybot-mac.txt")) + (defun trybot (url) "Fetch a trybot URL and fix up the output into a compilation-mode buffer." (interactive "sURL to trybot stdout (leave empty to use clipboard): ") |