From 5ef196f74db5d0ecf978320fdc4627ca50492b3e Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Tue, 5 Apr 2022 11:30:09 -0700 Subject: [PATCH] test-runner: resolve absolute path for --start argument --- tools/runner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/runner.py b/tools/runner.py index 5b6b0820..c9605710 100644 --- a/tools/runner.py +++ b/tools/runner.py @@ -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