Commit Graph

4103 Commits

Author SHA1 Message Date
Tom Wai-Hong Tam
caee8f891c Modify image for mfg test, e.g. copying qualified component file to the image.
Review URL: http://codereview.chromium.org/1081002
2010-03-20 09:45:02 +08:00
Antoine Labour
643fffab67 arm: don't truncate the mbr when installing the boot script. bad things happen otherwise
Review URL: http://codereview.chromium.org/1117005
2010-03-19 18:17:11 -07:00
Ken Mixter
8142fd6b35 Add restrictions to files considered control files
Review URL: http://codereview.chromium.org/1155003
2010-03-19 18:05:46 -07:00
Darin Petkov
7c2cef2e70 Rename image_to_live and fix it so that it works with the new start_devserver.
Review URL: http://codereview.chromium.org/1083007
2010-03-19 16:45:00 -07:00
Darin Petkov
9a0a96dbbd Move the dev server script to src/scripts and remove the .sh extension.
Review URL: http://codereview.chromium.org/1153005
2010-03-19 16:24:45 -07:00
Raja Aluri
b5b94ae9a5 Adding another special directory to check_deps script
Review URL: http://codereview.chromium.org/1100004
2010-03-19 10:43:18 -07:00
Ken Mixter
8400a40350 Minor bug fixes for run_remote_tests
By default keep around result directories.
Also find control* named control files.

Review URL: http://codereview.chromium.org/1097003
2010-03-18 16:57:07 -07:00
Ken Mixter
655a669b28 Update sbt to match hardcoded logic in mod_image_for_test
Review URL: http://codereview.chromium.org/1050007
2010-03-18 16:20:06 -07:00
Aaron Kemp
8926b7d447 Add a blacklist to disable autotests that don't build
TEST=built on arm-generic, x86-generic
BUG=none

Review URL: http://codereview.chromium.org/1004003
2010-03-18 14:32:05 -07:00
bradnelson
8f0c5d92b0 Adding in script to clobber build packages that shouldn't be cached.
Merge branch 'master' of ssh://chromiumos-git//chromeos

Merge branch 'master' of ssh://chromiumos-git//chromeos

Pointing each board to its own binhost cache.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/795002
2010-03-16 14:17:30 -07:00
Eric Li
c7867dec72 A typerr in the change password script caused lost of root password in test image.
Review URL: http://codereview.chromium.org/1021005
2010-03-16 12:54:56 -07:00
Eric Li
df5bf95764 Change mod_for_test_script to make it work with arm os image.
Get rid of chroot inside this script, and not mounting mod_for_test_scripts into rootfs any more.

The reason caused the failure here is once you chroot into the mounted rootfs directory, all binaries were searched inside the rootfs. But all binaries inside the arm rootfs was for arm hardware, so not executable on the host linux machine(intel).

Review URL: http://codereview.chromium.org/845007
2010-03-15 20:35:59 -07:00
Chris Sosa
cbac648820 Fix xterm
Review URL: http://codereview.chromium.org/1026002
2010-03-15 17:52:47 -07:00
Chris Sosa
77a2963e7d TBR: Change default to false 2010-03-15 14:12:15 -07:00
Chris Sosa
4bccd3c54d Build image part of http://codereview.chromium.org/913004/show
Review URL: http://codereview.chromium.org/998002
2010-03-15 13:23:14 -07:00
Bill Richardson
c09b94fda3 Replace symlink to build_image with real file.
Review URL: http://codereview.chromium.org/921001
2010-03-15 11:40:30 -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
Chris Sosa
bf15f5fd40 Make ssh compatible with dev mode and remove testing ssh items that don't work
Review URL: http://codereview.chromium.org/912003
2010-03-12 14:06:58 -08:00
Darin Petkov
5a881e2249 Fail build_autotest.sh if any test fails to build.
This change may be controversial -- it will basically make the x86-generic
full buildbot fail if tests fail to build.

There are a few options:

1. do this and see how it goes;
2. don't do this and rely on the test failing to run;
3. do this but also change buildbot to pass --nobuildcheck to build_autotest

Review URL: http://codereview.chromium.org/848005
2010-03-12 09:55:00 -08:00
Chris Sosa
3d11629b01 Changes to enable dev in stateful partition for usb and startup
Review URL: http://codereview.chromium.org/848002
2010-03-11 15:30:38 -08:00
Antoine Labour
6a6518de1c autotest: don't wipe FEATURES when building
Review URL: http://codereview.chromium.org/866001
2010-03-11 12:01:34 -08:00
Darin Petkov
f84012077c Add a flag to fail if the tests fail to build. Off by default.
Review URL: http://codereview.chromium.org/804006
2010-03-11 10:39:00 -08:00
Andrew de los Reyes
8a8c32ec9b VMWare [1/2]: Fix vmware image generation.
Review URL: http://codereview.chromium.org/668215
2010-03-10 16:09:46 -08:00
Ken Mixter
7e41907f97 Fix minor problem with autotest permissions
When grabbing buildbot image and test artifacts, properly install the test artifacts as if they were built by the user (with the user as owner).

Review URL: http://codereview.chromium.org/703001
2010-03-08 19:37:52 -08:00
David McMahon
9bd43a1515 Update CHROMEOS_VERSION_MINOR=6 now for R6.
Review URL: http://codereview.chromium.org/669287
2010-03-08 11:06:32 -08:00
Chris Sosa
8cf12935c5 Cleanup and add open to push test image to usb
Review URL: http://codereview.chromium.org/668170
2010-03-05 11:22:07 -08:00
Eric Li
83b50104dd 1. the dev server running with python 2.6 now, not python.
2. I dont fully understand why we need sudo inside this script. So I am removing it. Since I could not enter sudo password inside crontab. Please let me know if I missed anything and I could revert.

Review URL: http://codereview.chromium.org/666002
2010-03-05 11:18:17 -08:00
Ken Mixter
a2c6844e2c learn board and print better status messages
Review URL: http://codereview.chromium.org/668036
2010-03-03 18:57:45 -08:00
Ken Mixter
55f65f8bc1 Support grabbing portage buildbot artifacts
Review URL: http://codereview.chromium.org/660381
2010-03-03 18:54:14 -08:00
David James
14fba2e3b0 Make --board mandatory in build_tests.sh. Also enable building with a default board.
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/668015
2010-03-03 16:42:00 -08:00
tedbo
32303a95a1 Remove old build related scripts that are no longer needed.
Review URL: http://codereview.chromium.org/651062
2010-03-03 11:53:04 -08:00
David James
fe6426c692 Fix minor style nits missed in initial checkin of check_deps
Review URL: http://codereview.chromium.org/661415
2010-03-03 11:23:44 -08:00
Darin Petkov
8e3af0243c Don't build a binary package for autotest because we're not using it.
This saves almost 1 minute (out of 6) on my build host for the current full
build_autotest.sh. The savings will be more significant once the Chrome tests
(200MB+) also get into autotest.

Alternatively, we could still build the binary package and use it as part of
archive_build.sh (i.e., just copy it there instead of creating a new one).
But most people don't run archive_build so it may be better to not create
the binary package as part of build_autotest.sh.

Review URL: http://codereview.chromium.org/661473
2010-03-03 10:02:08 -08:00
David James
a17e946ebf Add test_image script for checking that dependencies in image are sane
Review URL: http://codereview.chromium.org/661239
2010-03-02 15:28:58 -08:00
David James
497900852d Update script for running unittests to work with new build system.
BUG=1725
TEST=yes

Review URL: http://codereview.chromium.org/660397
2010-03-02 13:17:44 -08:00
Mandeep Singh Baines
7c5fa53207 Add local account support to make.conf.user
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/660326
2010-03-01 20:06:08 -08:00
Darin Petkov
4e68893ee2 Unbreak the build.
Review URL: http://codereview.chromium.org/661259
2010-02-27 23:41:47 -08:00
David McMahon
5ba9f00cef Created branch release_36. Update CHROMEOS_VERSION_BRANCH=37 2010-02-26 22:56:43 -08:00
Ken Mixter
eb31903982 build_autotest runs as part of build_packages given a flag.
sync_build_test runs build_autotest that way.
archive_build bzips up the autotest artifacts.
run_remote_tests can run autotest artifacts from a prepackaged directory.  Note that because build_platform is in a different repository than these other files, it's unfortunately forced to be reviewed separately in http://codereview.chromium.org/661197 and committed independently.

Review URL: http://codereview.chromium.org/660189
2010-02-26 17:33:51 -08:00
Chris Sosa
6b8f1cf53e Modify scripts to be more informative and add autox/autologin for build script
Review URL: http://codereview.chromium.org/661203
2010-02-26 14:33:52 -08:00
Darin Petkov
d6bf1010bd Add bash completion for flags for some build scripts.
For example, ./build_packages --<tab> will try to complete all supported
./build_packages flags (or print them if completion is non-unique).
This completion could be used outside chroot.

Review URL: http://codereview.chromium.org/661096
2010-02-26 13:10:11 -08:00
David McMahon
db606797cb Created branch release_34. Update CHROMEOS_VERSION_BRANCH=35 2010-02-26 09:23:25 -08:00
David McMahon
dc6cb96c79 Force --yes to mod_image_for_test.sh call. archive_build.sh runs non-interactive most of the time.
Review URL: http://codereview.chromium.org/661151
2010-02-25 18:22:29 -08:00
David McMahon
72a09d994d Created branch release_32. Update CHROMEOS_VERSION_BRANCH=33 2010-02-25 14:14:28 -08:00
Raiford Storey
e609f19d4a Updated image_to_vmware.sh to generate an VMware configuration file. This is useful for VMplayer.
BUG=None
Test=Run "vmplayer chromeos.vmx" on and verify that the VM boots.

Review URL: http://codereview.chromium.org/657027
2010-02-25 13:58:54 -05:00
Ken Mixter
89ae722a21 Fix problem with mod_image_for_test leaving dangling chroot ref
Review URL: http://codereview.chromium.org/661061
2010-02-24 19:15:14 -08:00
Eric Li
213f8958aa include netperf2 and netpipe into build_autotest.
Review URL: http://codereview.chromium.org/661044
2010-02-24 17:32:55 -08:00
Ken Mixter
cc48864bce Support renamed commands, remove non-portage build support, fix a minor mod_image_for_test bug. Tested with build_autotest, mift, image_to_usb, and image_to_live. Also not recreating the chroot unless it's missing or you pass --force_make_chroot as folks say that added dependencies in the chroot are handled currently during build_packages.
Review URL: http://codereview.chromium.org/650123
2010-02-24 15:27:30 -08:00
Darin Petkov
726d36686c Fix name and add board completion to mod_image_for_test.sh.
Review URL: http://codereview.chromium.org/659005
2010-02-24 12:05:18 -08:00
Darin Petkov
049dbab5bd Programmatic bash completion for Chromium OS build scripts.
If you source this script inside chroot, you would get <tab> completion for the --board= argument for some build scripts.

For example,
. bash_completion
./build_image --board=x<tab>
may complete to
./build_image --board=x86-generic
if x86-generic is the only available board starting with "x". If not, it will list available boards with the given prefix.

We could extend this to work with setup_board and other scripts. Also, it may be nice to extend it to work outside chroot.

Does it make sense to make this part of the regular dev chroot by default? If so, not sure what the best way to do that. Maybe install this as a hard-host-depends and source it from the chroot user .bashrc?

Review URL: http://codereview.chromium.org/652129
2010-02-23 18:16:37 -08:00