[autotest] Rename provision.FW_VERSION_PREFIX to provision.FW_RW_VERSION_PREFIX
To make it clear that the build is for updating RW firmware.
BUG=chromium:270258
TEST=local run_suite
./run_suite.py -b veyron_jerry -i trybot-veyron_jerry-paladin/R45-7122.0.0-b11 \
--firmware_rw_build veyron_jerry-firmware/R41-6588.106.0 --test_source_build \
veyron_jerry-firmware/R41-6588.106.0 -p suites -s dummy
Change-Id: I842f348bc1ba567c5622ac126e8ca35392506774
Reviewed-on: https://chromium-review.googlesource.com/281623
Trybot-Ready: Dan Shi <dshi@chromium.org>
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
diff --git a/server/cros/provision.py b/server/cros/provision.py
index be90671..ef893a4 100644
--- a/server/cros/provision.py
+++ b/server/cros/provision.py
@@ -14,7 +14,7 @@
### Constants for label prefixes
CROS_VERSION_PREFIX = 'cros-version'
-FW_VERSION_PREFIX = 'fw-version'
+FW_RW_VERSION_PREFIX = 'fwrw-version'
FW_RO_VERSION_PREFIX = 'fwro-version'
# Default number of provisions attempts to try if we believe the devserver is
@@ -42,7 +42,7 @@
@returns: A string that is the appropriate label name.
"""
- return FW_VERSION_PREFIX + ':' + image
+ return FW_RW_VERSION_PREFIX + ':' + image
class _SpecialTaskAction(object):
@@ -158,7 +158,7 @@
'disable_before_iteration_sysinfo': True,
'disable_after_test_sysinfo': True,
'disable_after_iteration_sysinfo': True}),
- FW_VERSION_PREFIX: actionables.TestActionable(
+ FW_RW_VERSION_PREFIX: actionables.TestActionable(
'provision_FirmwareUpdate'),
}