Fail build_autotest.sh if any test fails to build.

This change may be controversial -- it will basically make the x86-generic
full buildbot fail if tests fail to build.

There are a few options:

1. do this and see how it goes;
2. don't do this and rely on the test failing to run;
3. do this but also change buildbot to pass --nobuildcheck to build_autotest

Review URL: http://codereview.chromium.org/848005
This commit is contained in:
Darin Petkov 2010-03-12 09:55:00 -08:00
parent 3d11629b01
commit 5a881e2249

View File

@ -23,7 +23,7 @@ DEFINE_string build "${DEFAULT_TESTS_LIST}" \
"a comma seperated list of autotest client tests to be prebuilt." b
DEFINE_boolean prompt $FLAGS_TRUE "Prompt user when building all tests."
DEFINE_boolean autox $FLAGS_TRUE "Build autox along with autotest"
DEFINE_boolean buildcheck $FLAGS_FALSE "Fail if tests fail to build"
DEFINE_boolean buildcheck $FLAGS_TRUE "Fail if tests fail to build"
# More useful help
FLAGS_HELP="usage: $0 [flags]"