Check for 'test' as one of the possible operations for this tool, moving the check above the implementation. Signed-off-by: Simon Glass <sjg at chromium.org> --- tools/qconfig.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) Applied to u-boot-dm, thanks!