From 3518c52e894b5eecad928c3dac433c2d423cde93 Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Tue, 5 Jan 2021 17:33:26 -0800 Subject: coil: config_option_check master->main BUG=b:175244613 TEST=make buildall -j Change-Id: I8a5273dca838d922627d084ee6330f5be3dfa0b7 Signed-off-by: Mary Ruthven Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2613454 Reviewed-by: Namyoon Woo --- util/config_option_check.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/util/config_option_check.py b/util/config_option_check.py index 179d9d2299..eb068eef30 100755 --- a/util/config_option_check.py +++ b/util/config_option_check.py @@ -44,7 +44,7 @@ class Hunk(object): self.lines = lines -# Master file which is supposed to include all CONFIG_xxxx descriptions. +# Main file which is supposed to include all CONFIG_xxxx descriptions. CONFIG_FILE = 'include/config.h' # Specific files which the checker should ignore. @@ -53,11 +53,11 @@ ALLOWLIST = [CONFIG_FILE, 'util/config_option_check.py'] def obtain_current_config_options(): """Obtains current config options from include/config.h. - Scans through the master config file defined in CONFIG_FILE for all CONFIG_* - options. + Scans through the main config file defined in CONFIG_FILE for all + CONFIG_* options. Returns: - config_options: A list of all the config options in the master CONFIG_FILE. + config_options: A list of all the config options in the main CONFIG_FILE. """ config_options = [] @@ -135,11 +135,11 @@ def print_missing_config_options(hunks, config_options): Args: hunks: A list of Hunk objects which represent the hunks from the git diff output. - config_options: A list of all the config options in the master CONFIG_FILE. + config_options: A list of all the config options in the main CONFIG_FILE. Returns: missing_config_option: A boolean indicating if any CONFIG_* options - are missing from the master CONFIG_FILE in this commit or if any CONFIG_* + are missing from the main CONFIG_FILE in this commit or if any CONFIG_* options removed are no longer being used in the repo. """ missing_config_option = False -- cgit v1.2.1