DescriptionRunCommand was catching and rethrowing an exception, which seemed to generate
extra noise in the final exception output.
This change stops catching and rethrowing the same exception, and generally
makes the RunCommand slightly more readable (if longer).
Some unit tests are added, but they only test RunCommand, and not all options
to RunCommand.
BUG=chromium-os:11717
TEST=Manual, and new lib/cros_build_lib_unittest
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=01c8423
Patch Set 1 #
Total comments: 9
Patch Set 2 : Fix review nits, add Exception test. #Patch Set 3 : Add docstrings. #
Messages
Total messages: 4 (0 generated)
|