3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01: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') args.start = os.path.abspath('tools/run-tests')
else: else:
raise Exception("Cannot locate run-tests binary") 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 no runner is specified but we have a kernel image assume
# if the kernel is executable its UML, otherwise qemu # if the kernel is executable its UML, otherwise qemu