From 459037ef67120beaea8ea1b3aadd91d9ed5a4f17 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Mon, 18 Dec 2023 19:50:06 -0500 Subject: [PATCH] _cli: create results dir if it doesn't exist Signed-off-by: William Woodruff --- limbo/_cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/limbo/_cli.py b/limbo/_cli.py index 712b8f77..1d4d5a6a 100644 --- a/limbo/_cli.py +++ b/limbo/_cli.py @@ -141,6 +141,8 @@ def _compile(args: argparse.Namespace) -> None: def _harness(args: argparse.Namespace) -> None: + args.output.parent.mkdir(exist_ok=True) + limbo_json = args.limbo.read_text() if args.include is not None or args.exclude is not None: testcases = Limbo.parse_raw(limbo_json).testcases