aboutsummaryrefslogtreecommitdiff
path: root/bestflags/pipeline_process_test.py
AgeCommit message (Collapse)Author
2015-12-16Run pyformat on all the toolchain-utils files.Luis Lozano
This gets rid of a lot of lint issues. Ran by doing this: for f in *.py; do echo -n "$f " ; if [ -x $f ]; then pyformat -i --remove_trailing_comma --yapf --force_quote_type=double $f ; else pyformat -i --remove_shebang --remove_trailing_comma --yapf --force_quote_type=double $f ; fi ; done BUG=chromium:567921 TEST=Ran simple crosperf run. Change-Id: I59778835fdaa5f706d2e1765924389f9e97433d1 Reviewed-on: https://chrome-internal-review.googlesource.com/242031 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@google.com>
2013-08-16Fixed the problems in task and steering.Yuheng Long
BUG=None TEST=unit testings for the pipeline stage, pipeline workers, generation, steering, task, flag, hill climbing and genetic algorithm. Change-Id: Ib34ef05518124b6ffa03f0c35795109e22581b89 Reviewed-on: https://gerrit-int.chromium.org/43002 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Yuheng Long <yuhenglong@google.com> Tested-by: Yuheng Long <yuhenglong@google.com>
2013-08-07Add underscore to separate words in variables.Yuheng Long
BUG=None TEST=unit testings for the pipeline stage, pipeline workers, generation, steering, task, flag and hill climbing. Change-Id: I0efdf5e7ad85b42f37519b6e0cebea8352bbf563 Reviewed-on: https://gerrit-int.chromium.org/42430 Reviewed-by: Simon Que <sque@google.com> Tested-by: Yuheng Long <yuhenglong@google.com> Commit-Queue: Yuheng Long <yuhenglong@google.com>
2013-08-07Add the best branching hill climbing algorithm.Yuheng Long
BUG=None TEST=unit testings for the pipeline stage, pipeline workers, generation, steering, task, flag and hill climbing. Change-Id: Ifd181f45c4b82f5fb77b0d4946757954aa806d33 Reviewed-on: https://gerrit-int.chromium.org/42284 Tested-by: Yuheng Long <yuhenglong@google.com> Reviewed-by: Simon Que <sque@google.com> Commit-Queue: Yuheng Long <yuhenglong@google.com>
2013-07-22Added the copyright information.Yuheng Long
BUG=None TEST=unit testing for the pipeline stage, pipeline workers and generation. Change-Id: I1a4eb5e2759ea536fa6faee613199b8f679f586e Reviewed-on: https://gerrit-int.chromium.org/41357 Reviewed-by: Simon Que <sque@google.com> Tested-by: Yuheng Long <yuhenglong@google.com> Commit-Queue: Yuheng Long <yuhenglong@google.com>
2013-07-16Extract out a common mock task into a module.Yuheng Long
The mock tasks are used in multiple unitest modules. It is not extracted out into a module to enable reuse. BUG=None TEST=unit testing for the pipeline stage and pipeline workers. Change-Id: Iee436266f7ea26c2877377f52208cc5cd31e7815 Reviewed-on: https://gerrit-int.chromium.org/41001 Reviewed-by: Simon Que <sque@google.com> Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Yuheng Long <yuhenglong@google.com> Tested-by: Yuheng Long <yuhenglong@google.com>
2013-07-12Rename the methods and use the dummy parameters.Yuheng Long
Refactor methods names and substitute unused variables with dummy variables. BUG=None TEST=unit testing for the pipeline stage and pipeline workers. Change-Id: I237d893201853d8620ff886c8fb9012c38b83805 Reviewed-on: https://gerrit-int.chromium.org/40865 Commit-Queue: Yuheng Long <yuhenglong@google.com> Tested-by: Yuheng Long <yuhenglong@google.com> Reviewed-by: Simon Que <sque@google.com>
2013-07-11Add the project information to each file's header comment.Yuheng Long
BUG=None TEST=None Change-Id: I362bfbf18c42025a0248714aa5d69ecfaa1daa2b Reviewed-on: https://gerrit-int.chromium.org/40826 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Yuheng Long <yuhenglong@google.com> Tested-by: Yuheng Long <yuhenglong@google.com>
2013-06-18Have the pipeline process working. Added the unit test for this class.Yuheng Long
BUG=None TEST=None Change-Id: I7fe9fd5b1610959399000b1dfc9b6db55c5c28fb Reviewed-on: https://gerrit-int.chromium.org/39473 Reviewed-by: Luis Lozano <llozano@chromium.org> Tested-by: Yuheng Long <yuhenglong@google.com> Commit-Queue: Yuheng Long <yuhenglong@google.com>
2013-06-10Added the skeleton for the flagging framework.Yuheng Long
BUG=None TEST=None Change-Id: I72c37ac70ed2adca588ad9866a6bcc26775aed8b Reviewed-on: https://gerrit-int.chromium.org/39096 Reviewed-by: Luis Lozano <llozano@chromium.org> Tested-by: Yuheng Long <yuhenglong@google.com> Commit-Queue: Yuheng Long <yuhenglong@google.com>