Closed FighterNan closed 4 years ago
https://github.com/openbmc/openbmc-build-scripts/blob/d2176ef9704d968858f031e89ace9d1b876d3bf5/scripts/unit-test.py#L758
The patten fails to match dependencies declared in a list, for example,
some_deps = [ dependency('lib1'), dependency('lib2'), ]
r"dependency\('([^']*)'.*?\),?\n" should fix the problem.
r"dependency\('([^']*)'.*?\),?\n"
Please refer to this commit.
https://github.com/openbmc/openbmc-build-scripts/blob/d2176ef9704d968858f031e89ace9d1b876d3bf5/scripts/unit-test.py#L758
The patten fails to match dependencies declared in a list, for example,
r"dependency\('([^']*)'.*?\),?\n"
should fix the problem.