Run hardware tests on arbitrary configs when --hwtest is passed.
By default, --hwtests only enables tests if the config already runs tests.
This isn't very intuitive. We should always run some tests when that flag
is used.
BUG=None
TEST=Unit tests. Trybot run validating hwtests are run for lumpy-paladin.
Change-Id: Ie67c6ed9ebabd07f694e0a0adf7689b7cd301906
Reviewed-on: https://gerrit.chromium.org/gerrit/46166
Commit-Queue: David James <davidjames@chromium.org>
Reviewed-by: David James <davidjames@chromium.org>
Tested-by: David James <davidjames@chromium.org>
diff --git a/scripts/cbuildbot.py b/scripts/cbuildbot.py
index 7e583ff..637f503 100644
--- a/scripts/cbuildbot.py
+++ b/scripts/cbuildbot.py
@@ -1284,7 +1284,7 @@
if not options.buildbot:
build_config = cbuildbot_config.OverrideConfigForTrybot(
build_config,
- options.remote_trybot)
+ options)
if options.buildbot or options.remote_trybot:
_DisableYamaHardLinkChecks()