From b281f84bc43c753d0ff9a7bc1b18a61cca81f54d Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 17 Sep 2021 10:22:55 -0700 Subject: [PATCH] Ignore support code in update-bundled test. --- test/sanity/code-smell/update-bundled.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/sanity/code-smell/update-bundled.py b/test/sanity/code-smell/update-bundled.py index 3f0fa1bee0d..85ba8532f16 100755 --- a/test/sanity/code-smell/update-bundled.py +++ b/test/sanity/code-smell/update-bundled.py @@ -140,6 +140,9 @@ def main(): files_with_bundled_metadata = get_files_with_bundled_metadata(paths) for filename in files_with_bundled_metadata.difference(bundled_libs): + if filename.startswith('test/support/'): + continue # bundled support code does not need to be updated or tracked + print('{0}: ERROR: File contains _BUNDLED_METADATA but needs to be added to' ' test/sanity/code-smell/update-bundled.py'.format(filename))