config_tools: fix the issue that fail to read XSD file
fix the path issue that fail to read XSD file. Tracked-On: #6689 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
faae669130
commit
080335bbe7
|
@ -116,7 +116,7 @@ def main(board_name, board_xml, args):
|
||||||
module.extract(args, board_etree)
|
module.extract(args, board_etree)
|
||||||
|
|
||||||
# Validate the XML against XSD assertions
|
# Validate the XML against XSD assertions
|
||||||
count = validator.validate_board("schema/boardchecks.xsd", board_etree)
|
count = validator.validate_board(os.path.join(script_dir, 'schema', 'boardchecks.xsd'), board_etree)
|
||||||
if count == 0:
|
if count == 0:
|
||||||
logging.info("All board checks passed.")
|
logging.info("All board checks passed.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue