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

Issue 3116009: Update autotest tests to use make -j where possible. (Closed)

Created:
10 years, 4 months ago by davidjames
Modified:
9 years, 4 months ago
Reviewers:
zbehan, ericli
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, seano, petkov+cc_chromium.org
Base URL:
ssh://git@chromiumos-git/autotest.git
Visibility:
Public.

Description

Update autotest tests to use make -j where possible. This cuts the time required to build the autotests from 7m30s to about 4m10s on my z600. TEST=Ran ./autotest --build=all BUG=chromium-os:5309

Patch Set 1 : Re-upload #

Patch Set 2 : Only update tests we use #

Patch Set 3 : Use MAKEOPTS instead. #

Patch Set 4 : Only modify utils.py, plus files that don't exist upstream #

Patch Set 5 : Convert last two tests to use utils.make(), saving another 20 seconds. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -40 lines) Patch
M client/bin/unit_test.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/common_lib/utils.py View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M client/deps/glbench/glbench.py View 1 chunk +1 line, -1 line 0 comments Download
M client/deps/hdparm/hdparm.py View 1 chunk +1 line, -1 line 0 comments Download
M client/deps/ibusclient/ibusclient.py View 1 chunk +1 line, -1 line 0 comments Download
M client/deps/sysstat/sysstat.py View 1 chunk +1 line, -1 line 0 comments Download
M client/site_tests/audiovideo_PlaybackRecordSemiAuto/audiovideo_PlaybackRecordSemiAuto.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/audiovideo_V4L2/audiovideo_V4L2.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/firmware_VbootCrypto/firmware_VbootCrypto.py View 1 chunk +1 line, -1 line 0 comments Download
M client/site_tests/graphics_GLAPICheck/graphics_GLAPICheck.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/graphics_SanAngeles/graphics_SanAngeles.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/hardware_Keyboard/hardware_Keyboard.py View 1 chunk +1 line, -1 line 0 comments Download
M client/site_tests/hardware_MemoryThroughput/hardware_MemoryThroughput.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/hardware_SAT/hardware_SAT.py View 1 chunk +1 line, -1 line 0 comments Download
M client/site_tests/hardware_StorageFio/hardware_StorageFio.py View 1 chunk +1 line, -1 line 0 comments Download
M client/site_tests/hardware_TPM/hardware_TPM.py View 1 chunk +1 line, -1 line 0 comments Download
M client/site_tests/hardware_TPMFirmware/hardware_TPMFirmware.py View 1 chunk +1 line, -1 line 0 comments Download
M client/site_tests/hardware_bma150/hardware_bma150.py View 1 chunk +1 line, -1 line 0 comments Download
M client/site_tests/logging_UserCrash/logging_UserCrash.py View 1 chunk +1 line, -1 line 0 comments Download
M client/site_tests/network_netperf2/network_netperf2.py View 1 chunk +1 line, -1 line 0 comments Download
M client/site_tests/platform_MiniJailCmdLine/platform_MiniJailCmdLine.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/platform_MiniJailPidNamespace/platform_MiniJailPidNamespace.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/platform_MiniJailPtraceDisabled/platform_MiniJailPtraceDisabled.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/platform_MiniJailReadOnlyFS/platform_MiniJailReadOnlyFS.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/platform_MiniJailRootCapabilities/platform_MiniJailRootCapabilities.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/platform_MiniJailUidGid/platform_MiniJailUidGid.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/platform_MiniJailVfsNamespace/platform_MiniJailVfsNamespace.py View 1 chunk +2 lines, -2 lines 0 comments Download
M client/site_tests/platform_StackProtector/platform_StackProtector.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
zbehan
Would it be possible to have this either generally respect MAKEOPTS instead of doing the ...
10 years, 4 months ago (2010-08-12 23:26:52 UTC) #1
davidjames
Updated to use MAKEOPTS per zbehan's comments.
10 years, 4 months ago (2010-08-13 00:09:16 UTC) #2
ericli
would you could spit this into two CLs? Things under site_test could be reviewed and ...
10 years, 4 months ago (2010-08-13 00:13:37 UTC) #3
davidjames
Hi Eric, I've adjusted the CL so it only modifies files that are new in ...
10 years, 4 months ago (2010-08-13 00:52:26 UTC) #4
ericli
I dont have any issue with this change. I personally like this change since it ...
10 years, 4 months ago (2010-08-13 16:36:34 UTC) #5
davidjames
On 2010/08/13 16:36:34, ericli wrote: > I dont have any issue with this change. I ...
10 years, 4 months ago (2010-08-13 20:23:46 UTC) #6
zbehan
I would suggest pushing both the tests changes and the utils.py change, even though in ...
10 years, 4 months ago (2010-08-13 22:34:38 UTC) #7
ericli
Please dont do this, and respect upstream first spirit. Otherwise, you need to commit to ...
10 years, 4 months ago (2010-08-13 22:37:31 UTC) #8
zbehan
Sorry, i should have said pushing both utils.py and test changes TO UPSTREAM. I definitely ...
10 years, 4 months ago (2010-08-13 22:42:11 UTC) #9
ericli
Upstream patch is done. http://autotest.kernel.org/changeset/4748/trunk/client I will merge it back to our repo tomorrow during ...
10 years, 4 months ago (2010-08-18 03:16:52 UTC) #10
zbehan
Most awesome. Thanks David for making it, thanks Eric for helping to upstream it. On ...
10 years, 4 months ago (2010-08-18 03:27:57 UTC) #11
ericli
10 years, 4 months ago (2010-08-18 17:20:23 UTC) #12
This is done, you might revert your changes to client/bin/utils.py in this CL,
do a git pull and submit the rest of it.


On 2010/08/18 03:27:57, zbehan wrote:
> Most awesome. Thanks David for making it, thanks Eric for helping to
> upstream it.
> 
> On Tue, Aug 17, 2010 at 8:16 PM, <mailto:ericli@chromium.org> wrote:
> 
> > Upstream patch is done.
> > http://autotest.kernel.org/changeset/4748/trunk/client
> >
> > I will merge it back to our repo tomorrow during normal business hours.
> >
> >
> >
> > http://codereview.chromium.org/3116009/show
> >
>

Powered by Google App Engine
This is Rietveld 408576698