mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
patman: Add a 'test' subcommand
At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -47,7 +47,7 @@ def RunTestCoverage(prog, filter_fname, exclude_list, build_dir, required=None):
|
||||
glob_list = []
|
||||
glob_list += exclude_list
|
||||
glob_list += ['*libfdt.py', '*site-packages*', '*dist-packages*']
|
||||
test_cmd = 'test' if 'binman' in prog else '-t'
|
||||
test_cmd = 'test' if 'binman' in prog or 'patman' in prog else '-t'
|
||||
prefix = ''
|
||||
if build_dir:
|
||||
prefix = 'PYTHONPATH=$PYTHONPATH:%s/sandbox_spl/tools ' % build_dir
|
||||
|
Reference in New Issue
Block a user