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

Issue 1584013: Merge autotest and autotest.py into one script (Closed)

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

Description

Darin proposed a way to run common.sh inside a python process and now I can get rid the bash wrapper around autotest.py. The content of autotest.py is copied into autotest and I am leaving autotest.py inside the CL for now since its much easier to review the diff. After got LGTM, I will git rm autotest.py and only submit autotest.

Patch Set 1 #

Patch Set 2 : patch 1 #

Patch Set 3 : patch 3 #

Patch Set 4 : patch 4. #

Total comments: 1

Patch Set 5 : patch 5 #

Patch Set 6 : patch 6. #

Patch Set 7 : patch7 #

Patch Set 8 : patch 8. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -193 lines) Patch
M src/scripts/autotest View 1 2 3 4 5 6 7 1 chunk +206 lines, -10 lines 0 comments Download
M src/scripts/autotest.py View 1 2 3 4 5 6 1 chunk +0 lines, -183 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
ericli
10 years, 8 months ago (2010-04-03 01:48:26 UTC) #1
petkov
This LGTM although it doesn't quite work with the TOP_SCRIPT_DIR setting in common.sh, however, TOP_SCRIPT_DIR ...
10 years, 8 months ago (2010-04-05 17:46:39 UTC) #2
petkov
On 2010/04/03 01:48:26, ericli wrote: > One more comment: after this change, build_autotest.sh failures will ...
10 years, 8 months ago (2010-04-05 19:03:18 UTC) #3
ericli
PTAL. the die function has been added into the python script. I dont see I ...
10 years, 8 months ago (2010-04-05 20:00:57 UTC) #4
petkov
On 2010/04/05 20:00:57, ericli wrote: > PTAL. > > the die function has been added ...
10 years, 8 months ago (2010-04-05 20:21:55 UTC) #5
petkov
http://codereview.chromium.org/1584013/diff/13001/11003 File src/scripts/autotest.py (right): http://codereview.chromium.org/1584013/diff/13001/11003#newcode174 src/scripts/autotest.py:174: print >> sys.stderr, '\033[1;31mbuild_autotest failed.\033[m' Could you instead call ...
10 years, 8 months ago (2010-04-05 20:22:24 UTC) #6
ericli
Done. Please take another look. On 2010/04/05 20:22:24, petkov wrote: > http://codereview.chromium.org/1584013/diff/13001/11003 > File src/scripts/autotest.py ...
10 years, 8 months ago (2010-04-05 20:50:52 UTC) #7
petkov
You should probably do the sys.exit from the "die" routine (so it's a real die ...
10 years, 8 months ago (2010-04-05 21:09:30 UTC) #8
ericli
10 years, 8 months ago (2010-04-05 21:26:56 UTC) #9
Done.
autotes.py  is removed from the CL and pushing... Thanks for reviewing this.

On Mon, Apr 5, 2010 at 2:09 PM, <petkov@chromium.org> wrote:

> You should probably do the sys.exit from the "die" routine (so it's a real
> die
> routine). LGTM otherwise.
>
>
>
> http://codereview.chromium.org/1584013
>



-- 
Eric Li
李咏竹
Google Kirkland

Powered by Google App Engine
This is Rietveld 408576698