mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-24 16:49:25 +01:00
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:
parent
5453f71a7c
commit
9353c7748b
@ -173,7 +173,7 @@ class RunnerArgParse(RunnerCoreArgParse):
|
|||||||
default=None)
|
default=None)
|
||||||
self.add_argument('--kernel', '-k',
|
self.add_argument('--kernel', '-k',
|
||||||
metavar='<kernel>',
|
metavar='<kernel>',
|
||||||
type=str,
|
type=os.path.abspath,
|
||||||
help='Path to kernel/uml image',
|
help='Path to kernel/uml image',
|
||||||
dest='kernel',
|
dest='kernel',
|
||||||
default=None)
|
default=None)
|
||||||
|
Loading…
Reference in New Issue
Block a user