[autotest] Support firmware_ro_build_spec in suite scheduler.
This change allows user to specify firmware_ro_build_spec in suite
scheduler ini file. Suite scheduler will create suite jobs based on the
given RO firmware build spec.
BUG=chromium:575394
TEST=local run
/usr/local/autotest/site_utils/suite_scheduler/suite_scheduler.py \
-d /usr/local/autotest/logs -f /usr/local/autotest/ss_test.ini \
-e nightly -i veyron_jerry-release/R49-7834.3.0 \
-r /tmp/_autotmp_0pjXWQ_suite_scheduler
test task:
[FaftEcNightly]
run_on: nightly
suite: dummy
branch_specs: ==tot-2
firmware_rw_build_spec: firmware
firmware_ro_build_spec: firmware
test_source: cros
Change-Id: Ib453ccee6c95a10570c692f0280513c8d78e3173
Reviewed-on: https://chromium-review.googlesource.com/329931
Commit-Ready: Dan Shi <dshi@google.com>
Tested-by: Dan Shi <dshi@google.com>
Reviewed-by: Dan Shi <dshi@google.com>
diff --git a/site_utils/suite_scheduler/constants.py b/site_utils/suite_scheduler/constants.py
index aec9ab2..3a80bf0 100644
--- a/site_utils/suite_scheduler/constants.py
+++ b/site_utils/suite_scheduler/constants.py
@@ -23,4 +23,5 @@
@var CROS: The string indicating the given build is used to update ChromeOS.
"""
FIRMWARE_RW = 'firmware_rw'
- CROS = 'cros'
\ No newline at end of file
+ FIRMWARE_RO = 'firmware_ro'
+ CROS = 'cros'