Commit Graph

58 Commits

Author SHA1 Message Date
Ken Mixter
d00425ef50 Support multiple chroots
this is necessary for portage-based builds which change the
chroot.  You must pass --chroot to the run_remote_tests in this
case.

Review URL: http://codereview.chromium.org/588010
2010-02-08 19:26:07 -08:00
Ken Mixter
8a4af3a999 Make run_remote_tests also update the chroot autotest
Don't punish the good people trying to write python-only autotests by
requiring them to sit through a long build_autotest run to test
every change.  run_remote_tests and build_autotest both update
the chroot copy now.

Review URL: http://codereview.chromium.org/578027
2010-02-05 19:22:35 -08:00
Ken Mixter
1cca01402a Enable building autotests in test loop and sbt script
Review URL: http://codereview.chromium.org/556060
2010-02-01 19:05:54 -08:00
Sean O'Connor
9969ce9238 Make run_remote_test's use of ssh-agent more predictable.
Review URL: http://codereview.chromium.org/560005
2010-02-01 17:10:03 -08:00
Sean O'Connor
a6db82ed3e Cleanup and merge autotest wrappers.
Review URL: http://codereview.chromium.org/546137
2010-01-27 12:11:08 -08:00
Ken Mixter
c0921383c0 Improvements for to continuous test loop.
Run a basic check on a buildbot grabbed image to make sure it has a
kernel installed in it.

Better failure recovery.

Review URL: http://codereview.chromium.org/553063
2010-01-25 11:02:32 -08:00
Ken Mixter
57d2a6bd12 Add functionality required for perf dashboard.
image_to_live.sh - fix problem where errorvalue is non-zero even when
  reimage was successful.
run_remote_tests.sh - add ability to stow build description in the
  autotest database so we can track the exact build for which
  tests succeed/fail.

Review URL: http://codereview.chromium.org/547018
2010-01-18 10:58:25 -08:00
Ken Mixter
689b9ee48e Simple way to run client/server autotest(s) from server.
This is a script to run client or server autotests on a live Chromium OS instance, collect results, and optionally upload the to an autotest database.  This includes functional and performance tests.  We assume the remote instance is running an appropriate image installed (one created using mod_image_for_test.sh and possibly installed using image_to_live.sh).

An example run might be

run_remote_tests.sh --remote=192.168.1.5 BootPerfServer -o results.txt

This example will run src/platform/testing/server_tests/system_BootPerfServer
5 times on instance at 192.168.1.5 and collect results in result.txt.

Also refactors and improves readability in image_to_live.sh.

Review URL: http://codereview.chromium.org/519041
2010-01-07 18:23:52 -08:00