mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 12:19:06 +00:00
config_tools: fix a module resolving issue in elementpath overlay
The library module introduced by commit 2cd13026e
("misc: move the RDT
interface to common library") was put under the library/ directory which is
not by default searchable from elementpath_overlay. This patch works around
the issue by adding that path to sys.path.
Also fix a typo in the RDT checking assertion.
Tracked-On: #6690
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -8,7 +8,7 @@ from scenario_config.default_populator import DefaultValuePopulatingStage
|
||||
from scenario_config.pipeline import PipelineObject, PipelineEngine
|
||||
from scenario_config.validator import ValidatorConstructionByFileStage, SemanticValidationStage, \
|
||||
SyntacticValidationStage
|
||||
from scenario_config.xml_loader import XMLLoadStage
|
||||
from scenario_config.xml_loader import LXMLLoadStage
|
||||
|
||||
from .pyodide import (
|
||||
convert_result, write_temp_file,
|
||||
@@ -22,12 +22,12 @@ def main(board, scenario):
|
||||
pipeline = PipelineEngine(["board_path", "scenario_path", "schema_path", "datachecks_path"])
|
||||
stages = [
|
||||
ValidatorConstructionByFileStage(),
|
||||
XMLLoadStage("schema"),
|
||||
LXMLLoadStage("schema"),
|
||||
|
||||
XMLLoadStage("board"),
|
||||
XMLLoadStage("scenario"),
|
||||
LXMLLoadStage("board"),
|
||||
LXMLLoadStage("scenario"),
|
||||
DefaultValuePopulatingStage(),
|
||||
SyntacticValidationStage(),
|
||||
SyntacticValidationStage(),
|
||||
SemanticValidationStage(),
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user