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

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: 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..3673b1b6dd793a9c32ef26d67e9485508a9e3ef6 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
davidjames 2011/04/07 17:02:07 Could you add a trailing period?
mtennant 2011/04/07 20:01:43 Done.
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