5 Commits

Author SHA1 Message Date
J. Richard Barnette
60a5ce0751 Enhancements to bootperf, based on recent user feedback.
Enhancement 1:  Fail if we run outside the chroot, because otherwise
you have to wait 10 minutes to find out your results won't be gathered.

Enhancement 2:  Print the location of the log output file, for the
benefits of looky-loos who want to see what's going on.

Change-Id: I388b1855c5b6bb20b0efffbf0babd1f60caf7bcb

BUG=None
TEST=run the script per instructions, and see the new output
TEST=run the script outside the chroot, and see it fail immediately

Review URL: http://codereview.chromium.org/6519039
2011-02-17 10:33:28 -08: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
J. Richard Barnette
3d0a18e676 Fix showbootdata handling when invoked with options but no arguments
Change-Id: Ieacacae968f45325b7a164d1a38b8cd27272d367

BUG=chromium-os:10519
TEST=see bug description

Review URL: http://codereview.chromium.org/6085003
2011-01-18 16:57:52 -08:00
J. Richard Barnette
23de818c2c Various minor bootperf improvements
Change-Id: I791fa01fcd2feb0c7b4c7e3d63cebc88d896c8ac

BUG=chromium-os:9459
BUG=chromium-os:9460
TEST=run the script, and check results with showbootdata or by manually inspecting the output directory
TEST=run "bootperf invalid-hostname", and see that the error message is useful

Review URL: http://codereview.chromium.org/5156008
2010-11-22 17:22:48 -08:00
J. Richard Barnette
2c002821ac Create bootperf-bin tools for running boot time tests and reporting results
BUG=chromium-os:8655
TEST=run bootperf as described by 'bootperf --help'
TEST=run showbootstats as described by 'showbootstats --help'

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

Change-Id: Idcfe206f7708fe5290960149952239219d1a96f6
2010-11-05 17:43:04 -07:00