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
1 changed files with 2 additions and 0 deletions

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