f2a3ef46f75d2196a93d3ed27f4d1fcf22b54fbe |
|
15-Dec-2015 |
Luis Lozano <llozano@chromium.org> |
Run pyformat on all the toolchain-utils files. 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>
/external/toolchain-utils/bestflags/pipeline_worker_test.py
|
f1f606e1c5b559aa264518a89595afd787f12e8a |
|
06-Aug-2013 |
Yuheng Long <yuhenglong@google.com> |
Encapsulate a couple inner fields in a unittest. BUG=None TEST=unit testings for the pipeline stage, pipeline workers, generation, steering, task, flag and hill climbing. Change-Id: I5d86c107cb7a0693c97a0cb404c2a89a172ce835 Reviewed-on: https://gerrit-int.chromium.org/42418 Reviewed-by: Simon Que <sque@google.com> Tested-by: Yuheng Long <yuhenglong@google.com> Commit-Queue: Yuheng Long <yuhenglong@google.com>
/external/toolchain-utils/bestflags/pipeline_worker_test.py
|
16d7a5204e347855b1c3a68c982c22f931a12866 |
|
20-Jul-2013 |
Yuheng Long <yuhenglong@google.com> |
Added the copyright information. 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>
/external/toolchain-utils/bestflags/pipeline_worker_test.py
|
a791546e80cede30d5325bec834b35b99b7e7bfe |
|
15-Jul-2013 |
Yuheng Long <yuhenglong@google.com> |
Extract out a common mock task into a module. 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>
/external/toolchain-utils/bestflags/pipeline_worker_test.py
|
26ec76c8a9d4f5dd023513d2772fa6cd4b6749ea |
|
11-Jul-2013 |
Yuheng Long <yuhenglong@google.com> |
Rename the methods and use the dummy parameters. 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>
/external/toolchain-utils/bestflags/pipeline_worker_test.py
|
49358b75c25a44760e884245440dc96e55812d04 |
|
10-Jul-2013 |
Yuheng Long <yuhenglong@google.com> |
Add the project information to each file's header comment. 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>
/external/toolchain-utils/bestflags/pipeline_worker_test.py
|
761748dc64a0d2a6a90714097445fcf782a8934e |
|
28-Jun-2013 |
Yuheng Long <yuhenglong@google.com> |
Merge the test stage and the build stage. Use the pipeline_worker to represent both stage. These two stages differ on getting the key of the task in the stage and setting the value of this stage. The key uniquely distinguish a task from another task. For example, the key for the build phase is the optimization flags, while the key for the test stage is the checksum of the built image. BUG=None TEST=None Change-Id: Id057c17026806acd406fe78cc70ed996273ca9aa Reviewed-on: https://gerrit-int.chromium.org/40376 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>
/external/toolchain-utils/bestflags/pipeline_worker_test.py
|