feature_compliance_version

Source code: feature_compliance_version.py

A factory test to check the feature compliance version.

Description

This test checks the feature compliance and sets the version to device data.

Test Procedure

This test will be run automatically.

Dependency

  • cros.factory.hwid.v3 for compliance version checker.

  • branded_chassis pytest should be run prior to this test.

  • cros.factory.test.device_data for getting/setting feature flags.

Examples

To check the feature compliance version, please add this in test list:

{
  "pytest_name": "feature_compliance_version"
}

Test Arguments

Name

Type

Description

hwid_need_vpd

bool

(optional; default: True) Run the vpd command to get the vpd data.

rma_mode

bool

(optional; default: False) Enable rma_mode, do not check for deprecated components.