mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
test-runner: fix verbose arguments as single string
The verbose arguments come in from the QEMU command line as a single string. This should have been split into an array immediately but was not. This led to issues like hostapd debug being enabled when "-v hostapd_cli" was passed in.
This commit is contained in:
parent
5c95c5cc16
commit
296f1d0d1c
@ -1212,6 +1212,9 @@ def run_tests():
|
||||
if not args.debug:
|
||||
sys.stdout = open(os.devnull, 'w')
|
||||
|
||||
if args.verbose != []:
|
||||
args.verbose = args.verbose.split(',')
|
||||
|
||||
os.environ['PATH'] = '%s/src' % args.testhome
|
||||
os.environ['PATH'] += ':%s/tools' % args.testhome
|
||||
os.environ['PATH'] += ':%s/client' % args.testhome
|
||||
|
Loading…
Reference in New Issue
Block a user