Enable rust-vmm coverage test in CI

1. Enabled the aarch64 coverage test in `test_coverage` script.

2. Seperated the coverage json sample file to two sample files for
different machine achitectures.

3. Updated Buildkite pipeline container version.

4. Updated README for the description of coverage files and container
version.

Signed-off-by: Henry Wang <henry.wang@arm.com>
This commit is contained in:
mrxinwang
2019-12-03 12:23:12 +08:00
committed by Andreea Florescu
parent c309d0627b
commit cd7096e7a6
5 changed files with 48 additions and 23 deletions
+5 -3
View File
@@ -2,14 +2,16 @@
# SPDX-License-Identifier: Apache-2.0
"""Test the coverage and update the threshold when coverage is increased."""
import json, os, re, shutil, subprocess
import json, os, re, shutil, subprocess, platform
import pytest
from utils import get_repo_root_path
REPO_ROOT_PATH = get_repo_root_path()
COVERAGE_CONFIG_PATH = os.path.join(REPO_ROOT_PATH, "coverage_config.json")
if platform.machine() == "x86_64":
COVERAGE_CONFIG_PATH = os.path.join(REPO_ROOT_PATH, "coverage_config_x86_64.json")
elif platform.machine() == "aarch64":
COVERAGE_CONFIG_PATH = os.path.join(REPO_ROOT_PATH, "coverage_config_aarch64.json")
def _read_test_config():
"""