3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-03 01:48:49 +02:00

test-runner: resolve absolute path for --start argument

This commit is contained in:
James Prestwood 2022-04-05 11:30:09 -07:00 committed by Denis Kenzior
parent 197368dcfc
commit 5ef196f74d

View File

@ -201,6 +201,8 @@ class Runner:
args.start = os.path.abspath('tools/run-tests')
else:
raise Exception("Cannot locate run-tests binary")
else:
args.start = os.path.abspath(args.start)
# If no runner is specified but we have a kernel image assume
# if the kernel is executable its UML, otherwise qemu