Index: cros_run_unit_tests |
diff --git a/cros_run_unit_tests b/cros_run_unit_tests |
index 0870f6d430f6804e5760f63ba1adc0e06218512a..0e4ac03febf97442fe50a4ac26ef0bbf882a2210 100755 |
--- a/cros_run_unit_tests |
+++ b/cros_run_unit_tests |
@@ -47,9 +47,10 @@ function record_test_failure() { |
FAILED_PACKAGES="${FAILED_PACKAGES} ${1}" |
} |
+# Run the unit test for the given package, via ebuild src_test() function. |
function run_unit_test() { |
- FEATURES="-buildpkg -digest noauto" \ |
- ebuild-${FLAGS_board} "${1}" clean unpack prepare configure test |
+ FEATURES="-buildpkg -digest" \ |
+ ebuild-${FLAGS_board} "${1}" clean test clean |
} |
# Parse command line and die if unexpected parameters given. |