test-runner: resolve --kernel absolute path

This only posed a problem oddly if the kernel binary was in the same
directory as test-runner. Resolving the absolute path with the
argument parser resolves the issue.
This commit is contained in:
James Prestwood 2022-04-06 15:08:56 -07:00 committed by Denis Kenzior
parent 5453f71a7c
commit 9353c7748b
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ class RunnerArgParse(RunnerCoreArgParse):
default=None)
self.add_argument('--kernel', '-k',
metavar='<kernel>',
type=str,
type=os.path.abspath,
help='Path to kernel/uml image',
dest='kernel',
default=None)