CI: adjust coverage on AMD
The cpuid crate introduces a slight
difference in the coverage value.
@@ -18,6 +18,14 @@ import framework.utils as utils
import host_tools.cargo_build as host # pylint: disable=import-error
COVERAGE_TARGET_PCT = 84.71
+# This slight difference comes from
+# the brand string, On Intel, it contains
+# the frequency while on AMD it does not.
+# (the cpuid crate). In the future other
+# differences may appear.
+if "AMD" in platform.processor():
+ COVERAGE_TARGET_PCT = 84.68
+
COVERAGE_MAX_DELTA = 0.05
CARGO_KCOV_REL_PATH = os.path.join(host.CARGO_BUILD_REL_PATH, 'kcov')
