commit 9353c7748b0d6e7763d8f92dedb2bd623e862e57
parent 5453f71a7cfbd892bcd91c227f90ab9ba58f293a
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 6 Apr 2022 15:08:56 -0700
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/runner.py b/tools/runner.py
@@ -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)