aboutsummaryrefslogtreecommitdiff
path: root/bestflags/task.py
diff options
context:
space:
mode:
authorYuheng Long <yuhenglong@google.com>2013-08-08 21:07:24 -0700
committerChromeBot <chrome-bot@google.com>2013-08-10 20:26:39 -0700
commit2b514c28dd26aa02c2ea0f9924be91fb2394c8a0 (patch)
treee2a9532a20096b0f22b0ee838dbccd364e09027f /bestflags/task.py
parentbbbd8645405a7058b8e6d17dc1fdec14cbff4f08 (diff)
downloadtoolchain-utils-2b514c28dd26aa02c2ea0f9924be91fb2394c8a0.tar.gz
Add more examples for better documentation.
BUG=None TEST=unit testings for the pipeline stage, pipeline workers, generation, steering, task, flag and hill climbing. Change-Id: I1f8f361388d3c3171a7135d1d0ef38ee5f695829 Reviewed-on: https://gerrit-int.chromium.org/42584 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Yuheng Long <yuhenglong@google.com> Tested-by: Yuheng Long <yuhenglong@google.com>
Diffstat (limited to 'bestflags/task.py')
-rw-r--r--bestflags/task.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bestflags/task.py b/bestflags/task.py
index 77901602..b20493fd 100644
--- a/bestflags/task.py
+++ b/bestflags/task.py
@@ -31,7 +31,7 @@ ERROR_STRING = 'error'
# the build should attempt before giving up.
BUILD_TRIES = 3
-# The maximum number of tries a build can have. Some tests may fail due to
+# The maximum number of tries a test can have. Some tests may fail due to
# unexpected environment circumstance. This variable defines how many tries the
# test should attempt before giving up.
TEST_TRIES = 3
@@ -391,7 +391,7 @@ class Task(object):
# Write out the result in the comma-separated format (CSV).
out_file.write('%s,%s,%s\n' % test_result)
- def Improve(self, other):
+ def Improved(self, other):
"""Compare the current task with another task.
Args: