cbuildbot: Add --novmtests to run no vmtests in tryjob.
This CL also modifies the help message for --notests.
BUG=chromium:354551
TEST=Ran ./cbuildbot --remote *** --novmtests vs
./cbuildbot --remote ***.
Ran unittest.
Change-Id: Ie89572b66271d2fe20a501ee1dc4716007779409
Reviewed-on: https://chromium-review.googlesource.com/544534
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
diff --git a/scripts/cbuildbot.py b/scripts/cbuildbot.py
index feff7be..6eef327 100644
--- a/scripts/cbuildbot.py
+++ b/scripts/cbuildbot.py
@@ -624,8 +624,12 @@
default=True, help="Don't sync before building.")
group.add_remote_option('--notests', action='store_false', dest='tests',
default=True,
- help='Override values from buildconfig and run no '
- 'tests.')
+ help='Override values from buildconfig, run no '
+ 'tests, and build no autotest and artifacts.')
+ group.add_remote_option('--novmtests', action='store_false', dest='vmtests',
+ default=True,
+ help='Override values from buildconfig, run no '
+ 'vmtests.')
group.add_remote_option('--noimagetests', action='store_false',
dest='image_test', default=True,
help='Override values from buildconfig and run no '