diff options
author | Luis Lozano <llozano@chromium.org> | 2013-03-15 14:44:13 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-15 15:51:37 -0700 |
commit | f81680c018729fd4499e1e200d04b48c4b90127c (patch) | |
tree | 940608da8374604b82edfdb2d7df55d065f05d4c /produce_output.py | |
parent | 2296ee0b914aba5bba07becab4ff68884ce9b8a5 (diff) | |
download | toolchain-utils-f81680c018729fd4499e1e200d04b48c4b90127c.tar.gz |
Cleaned up directory after copy of tools from perforce directory
Got rid of stale copies of some tools like "crosperf" and moved all
files under v14 directory (that came from perforce) into the top
directory.
BUG=None
TEST=None
Change-Id: I408d17a36ceb00e74db71403d2351fd466a14f8e
Reviewed-on: https://gerrit-int.chromium.org/33887
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Luis Lozano <llozano@chromium.org>
Diffstat (limited to 'produce_output.py')
-rwxr-xr-x | produce_output.py | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/produce_output.py b/produce_output.py new file mode 100755 index 00000000..0e982bf7 --- /dev/null +++ b/produce_output.py @@ -0,0 +1,35 @@ +#!/usr/bin/python2.6 +# +# Copyright 2010 Google Inc. All Rights Reserved. + +""" +This simulates a real job by producing a lot of output. + +""" + +__author__ = "asharif@google.com (Ahmad Sharif)" + +import optparse +import os +import re +import sys +import time +from utils import command_executer + + +def Main(argv): + """The main function.""" + parser = optparse.OptionParser() + + (options, args) = parser.parse_args(argv) + + for j in range(10): + for i in range(10000): + print str(j) + "The quick brown fox jumped over the lazy dog." + str(i) + time.sleep(60) + + return 0 + + +if __name__ == "__main__": + Main(sys.argv) |