Commit Graph

13 Commits

Author SHA1 Message Date
David James
27064994fa Use pbzip2 in archive_build, if it is available.
BUG=chromium-os:16502
TEST=Run cbuildbot run of archive stage with official build.

Change-Id: I03898404dd27d6930c4a01bd9826796ddb07a4cd
Reviewed-on: http://gerrit.chromium.org/gerrit/5445
Reviewed-by: Zdenek Behan <zbehan@chromium.org>
Tested-by: David James <davidjames@chromium.org>
2011-08-06 18:58:44 -07:00
Brian Harring
d5d5dbffa1 Fix/standardize exiting if common.sh can't be found
The problem here is that most were doing their exiting w/in a subshell;
exit within a subshell kills the subshell, not the parent.  Not all scripts
were using set -e (which would pick up the failing subshell); as such
just rewriting them to remove the potential via eliminateing the subshelling.

Beyond that, removed a couple of custom (working, although non-standard)
approaches, and removed a duplicate common.sh sourc'ing w/in mk_memento_images.sh

TEST=force 'find_common_sh' to fail, note the scripts fails to exit
BUG=none

Change-Id: Ia1108a091a6399ad6aedd3cade4a107f4411686c
Reviewed-on: http://gerrit.chromium.org/gerrit/3905
Reviewed-by: Brian Harring <ferringb@chromium.org>
Tested-by: Brian Harring <ferringb@chromium.org>
2011-07-22 12:06:59 -07:00
Don Garrett
bc2f4bfbf9 Remove calls to docgen.
David James removed docgen from the chroot, but missed this script that
invokes it during Release builds. This is causing all Canary builds to
fail during archive_build.

TEST=None (not sure how to test this outside of the release build process)
BUG=None

Change-Id: I922ce30722ef67601a07ea75604850eb2c8fed28
Reviewed-on: http://gerrit.chromium.org/gerrit/3737
Reviewed-by: Chris Sosa <sosa@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
2011-07-07 11:54:53 -07:00
Chris Sosa
7cf38f011a Fix archive_hwqual to point to non-py file.
Change-Id: I308680be52f5497dab6c970fcad6c5684e42c6b4

BUG=TreeCloser
TEST=Ran cp manually, confirmed target of symlink was copied correctly.

Review URL: http://codereview.chromium.org/6696097
2011-03-24 19:55:28 -07:00
Greg Spencer
798d75f3be This starts to fix the scripts so that they load from /usr/lib/crosutils
from within the chroot.

It also fixes a number of style issues.

It changes the meaning of cros_workon "list-all" to list all available
packages, and adds "list-live" to list all live packages.

It changes things that load chromeos-common.sh from the installer to
load it from /usr/lib/installer.

BUG=chromium-os:4230
TEST=synced, rebuilt chroot, made packages, made images, built chrome
from source, and wrote an image to a USB stick.

Review URL: http://codereview.chromium.org/6240018

Change-Id: I90c34420af1a64020402bafef8e9e77f56837c02
2011-02-01 22:04:49 -08:00
Ruchi Chaturvedi
571d1c95f9 Added HWQual utility script - call_script.py
Change-Id: I07722c5eac6836051dedf015593d4717bf852853

BUG=chromium-os:10197
TEST= Run HWQual scripts as -

python call_autoserv.py --ip=<remote machine IP> --test=<server or client HWQual testname in suite_HWQual or site_tests>

Review URL: http://codereview.chromium.org/6187006
2011-01-27 16:19:55 -08:00
Chris Sosa
70e2c9e72a Move RunCommand, and Info/Warning/Die into common pylib
TEST=Ran all commands that used RunCommand or Die with
their associated unittests.

Review URL: http://codereview.chromium.org/3266004
2010-08-30 11:05:50 -07:00
Kelly Lucas
ee04e47a48 TBR: reviewed at: http://codereview.chromium.org/3001002/show 2010-07-15 15:47:52 -07:00
Chris Sosa
54d8baacc0 Make generate_test_reports a symlink to the py file so it can be imported.
TEST=Ran archive_build with --official-build and test_mod set.

Review URL: http://codereview.chromium.org/2951003
2010-07-09 10:46:53 -07:00
Kelly Lucas
761980d21b Added change to include creating a pdf file.
Added CreateDocs.py so that html docs will be created when this script runs.

Review URL: http://codereview.chromium.org/2366003
2010-06-02 13:06:07 -07:00
David McMahon
e707c1d4e7 Fix name of test image from autotest archive.
Review URL: http://codereview.chromium.org/1711005
2010-04-20 18:03:51 -07:00
Darin Petkov
835ea28436 Add generate_test_report to the hwqual package.
Will remove it from the autotest repo in a separate CL.

Review URL: http://codereview.chromium.org/1576035
2010-04-14 12:58:20 -07:00
Ken Mixter
54a3e8347d Add script to package hwqual release from buildbot artifacts.
Review URL: http://codereview.chromium.org/716001
2010-03-12 14:52:51 -08:00