mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
binman: Drop unnecessary debug handling
The -D option enables debug mode, but we only need to add -D to the command line once. Drop the duplicate code. Also drop the comment about enabling debugging since this can be done with -D. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ff5c7e383e
commit
9382bb873b
1 changed files with 0 additions and 5 deletions
|
@ -71,8 +71,6 @@ def RunTests(debug, processes, args):
|
|||
sys.argv = [sys.argv[0]]
|
||||
if debug:
|
||||
sys.argv.append('-D')
|
||||
if debug:
|
||||
sys.argv.append('-D')
|
||||
|
||||
# Run the entry tests first ,since these need to be the first to import the
|
||||
# 'entry' module.
|
||||
|
@ -151,9 +149,6 @@ def RunBinman(options, args):
|
|||
"""
|
||||
ret_code = 0
|
||||
|
||||
# For testing: This enables full exception traces.
|
||||
#options.debug = True
|
||||
|
||||
if not options.debug:
|
||||
sys.tracebacklimit = 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue