cros_run_unit_tests: only test installed packages by default

We rarely want to run tests for a package that isn't already installed.
Add an --installed flag (defaulting to on) that ignores them by default.

TEST=`./cros_run_unit_tests --board=sonic --pretend` only shows installed packages
TEST=`./cros_run_unit_tests --board=sonic --pretend --noinstalled` shows all packages

Change-Id: I2c7868378763d075c8674e5e496c6886a2a52af4
Reviewed-by: Mike Frysinger <>
Tested-by: Mike Frysinger <>
Commit-Queue: Mike Frysinger <>
1 file changed