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

Unified Diff: chromeos/scripts/build_packages

Issue 661197: Changes to enable buildbot to build autotests and package them (Closed)
Patch Set: Changed branch Created 10 years, 10 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: chromeos/scripts/build_packages
diff --git a/chromeos/scripts/build_packages b/chromeos/scripts/build_packages
index 8a41c7b6f2a1e4e0e3bd8bc9868d0f08a0127fb0..cda7a062cfae82d26a15c3e0eaee37d2c47dc686 100755
--- a/chromeos/scripts/build_packages
+++ b/chromeos/scripts/build_packages
@@ -28,6 +28,8 @@ DEFINE_boolean usepkg $FLAGS_FALSE \
"Use binary packages to bootstrap when possible."
DEFINE_boolean withdev $FLAGS_TRUE \
"Build useful developer friendly utilities."
+DEFINE_boolean withautotest $FLAGS_FALSE \
+ "Build autotest client code."
DEFINE_integer jobs -1 \
"How many packages to build in parallel at maximum."
@@ -65,3 +67,7 @@ if [[ $FLAGS_withdev -eq $FLAGS_TRUE ]]; then
else
sudo emerge-${FLAGS_board} -uDNv $EMERGE_FLAGS chromeos-base/chromeos
fi
+
+if [[ $FLAGS_withautotest -eq $FLAGS_TRUE ]]; then
+ ./build_autotest.sh --noprompt --board=${FLAGS_board}
+fi
« 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