fix(test_apps): reflect changes in component_deps.dot in the g1_components test
The commit 51f3c021158d ("Add quotes around node ID in dependency
graph") introduced proper quoting for node IDs in the generated dot
file. Since the dot format does not allow dashes in node names without
quoting, and dashes are used in component names, the component names in
the generated dot file are now correctly quoted. Adjust the
g1_components test to accommodate this change by stripping the quotes.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
@@ -26,8 +26,8 @@ def parse_dependencies(file_path: str) -> Tuple[Dict[str, List[str]], List[str]]
|
||||
parts = line.split(' -> ')
|
||||
|
||||
if (len(parts) >= 2):
|
||||
source = parts[0]
|
||||
target = parts[1].split()[0] # Extracting the target component
|
||||
source = parts[0].strip('"')
|
||||
target = parts[1].split()[0].strip('"') # Extracting the target component
|
||||
logging.debug(f'Parsed dependency: {source} -> {target}')
|
||||
|
||||
# Check that g1/g0 dependencies are either on the list of expected violations
|
||||
|
||||
Reference in New Issue
Block a user