Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: cros_run_unit_tests

Issue 6812021: Rely on Portage to run required stages before "test" stage. (Closed) Base URL: ssh://gitrw.chromium.org:9222/crostestutils.git@master
Patch Set: Adding period at end of comment. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698