Skip to content

Commit af2a992

Browse files
ulfalizernashif
authored andcommitted
checks: kconfig: Improve message for undefined references
Got stuff like Found references to undefined Kconfig symbols. If any of these are false positives, then add them to UNDEF_KCONFIG_WHITELIST in /var/lib/shippable/.../gitRepo/scripts/check_compliance.py in the ci-tools repo. ... Now it's just Found references to undefined Kconfig symbols. If any of these are false positives, then add them to UNDEF_KCONFIG_WHITELIST in check_compliance.py in the ci-tools repo. ... Signed-off-by: Ulf Magnusson <[email protected]>
1 parent b2d1a30 commit af2a992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci/check_compliance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ def check_no_undef_outside_kconfig(self, kconf):
359359

360360
self.add_failure("""
361361
Found references to undefined Kconfig symbols. If any of these are false
362-
positives, then add them to UNDEF_KCONFIG_WHITELIST in {} in the ci-tools
363-
repo.\n\n{}""".format(__file__, undef_desc))
362+
positives, then add them to UNDEF_KCONFIG_WHITELIST in {} in the
363+
ci-tools repo.\n\n{}""".format(os.path.basename(__file__), undef_desc))
364364

365365

366366
# Many of these are either symbols used as examples or due to token pasting

0 commit comments

Comments
 (0)