mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-30 21:16:03 +00:00
config-tools: validate the scenario against schema
Try validate the scenario xml against schema if the config.xsd exsists. Fix the regular expression pattern of IVSHMEM_REGION string validation. Tracked-On: #5672 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
This commit is contained in:
@@ -16,6 +16,7 @@ import lxml
|
||||
ACRN_CONFIG_TARGET = ''
|
||||
SOURCE_ROOT_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../../')
|
||||
HV_LICENSE_FILE = SOURCE_ROOT_DIR + 'misc/config_tools/library/hypervisor_license'
|
||||
SCENARIO_SCHEMA_FILE = SOURCE_ROOT_DIR + 'misc/config_tools/schema/config.xsd'
|
||||
|
||||
|
||||
PY_CACHES = ["__pycache__", "../board_config/__pycache__", "../scenario_config/__pycache__"]
|
||||
|
Reference in New Issue
Block a user