Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(391)

Issue 1090005: Enable run_remote_tests to run in chroot and clean up output (Closed)

Created:
10 years, 9 months ago by kmixter1
Modified:
9 years, 7 months ago
Reviewers:
petkov, seano, ericli
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Enable run_remote_tests to run in chroot and clean up output Make this script's output better formatted. Better describe how to disambiguate control files when multiple match. Get rid of the output_file concept since it's not needed. Don't output a results directory if there's an ambiguity.

Patch Set 1 #

Patch Set 2 : Remove no longer needed functionality #

Patch Set 3 : and more #

Total comments: 5

Patch Set 4 : Add colors and fix regexp #

Patch Set 5 : fix spacing #

Patch Set 6 : Check for tty #

Patch Set 7 : More robust tty checks #

Patch Set 8 : Improve errors on parsing control files #

Patch Set 9 : Make colors more obvious #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -57 lines) Patch
M src/scripts/run_remote_tests.sh View 1 2 3 4 5 6 7 8 8 chunks +68 lines, -57 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kmixter1
Some spring cleaning and improving functionality for the fixit.
10 years, 9 months ago (2010-03-20 02:22:53 UTC) #1
petkov
LGTM You may want to consider adding some colors to the progress output -- portage ...
10 years, 9 months ago (2010-03-20 04:25:26 UTC) #2
seano
lgtm++ http://codereview.chromium.org/1090005/diff/4001/5001 File src/scripts/run_remote_tests.sh (right): http://codereview.chromium.org/1090005/diff/4001/5001#newcode178 src/scripts/run_remote_tests.sh:178: local type=$(egrep '^\s*TEST_TYPE.*=' "${control_file}" | head -1) On ...
10 years, 9 months ago (2010-03-20 21:34:52 UTC) #3
kmixter1
Submitting. Added colors when stdout is not redirected from a tty. http://codereview.chromium.org/1090005/diff/4001/5001 File src/scripts/run_remote_tests.sh (right): ...
10 years, 9 months ago (2010-03-22 22:14:27 UTC) #4
petkov
10 years, 9 months ago (2010-03-22 22:25:52 UTC) #5
Sounds good. You may want to announce on the cros-dev mailing list that
run_remote_tests works inside chroot now...

On Mon, Mar 22, 2010 at 3:14 PM, <kmixter@chromium.org> wrote:

> Submitting.  Added colors when stdout is not redirected from a tty.
>
>
> http://codereview.chromium.org/1090005/diff/4001/5001
> File src/scripts/run_remote_tests.sh (right):
>
> http://codereview.chromium.org/1090005/diff/4001/5001#newcode178
> src/scripts/run_remote_tests.sh:178: local type=$(egrep
> '^\s*TEST_TYPE.*=' "${control_file}" | head -1)
> On 2010/03/20 21:34:52, seano wrote:
>
>> On 2010/03/20 04:25:26, petkov wrote:
>> > Any reason for changing \s to .?
>>
>
>  Looks like some of the control files are written as TEST_TYPE=
>>
>
> Seems either like a bug or exclusion in the egrep that's emerged in the
> chroot.  It doesn't support \s.  Changed to use [[:space:]].
>
> http://codereview.chromium.org/1090005/diff/4001/5001#newcode184
> src/scripts/run_remote_tests.sh:184: option="-s"
> On 2010/03/20 04:25:26, petkov wrote:
>
>> indent by 1
>>
>
> Done.
>
> http://codereview.chromium.org/1090005
>

Powered by Google App Engine
This is Rietveld 408576698