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:
parent
197368dcfc
commit
5ef196f74d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user