From c7f400262c63f1cb380e23b5726022b47f9e4232 Mon Sep 17 00:00:00 2001 From: Jarred Allen Date: Thu, 6 May 2021 12:56:57 -0400 Subject: [PATCH] Fix bug in regression script --- wally-pipelined/regression/regression-wally.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wally-pipelined/regression/regression-wally.py b/wally-pipelined/regression/regression-wally.py index ef2c8d9b..81144975 100755 --- a/wally-pipelined/regression/regression-wally.py +++ b/wally-pipelined/regression/regression-wally.py @@ -74,6 +74,10 @@ def main(): """Run the tests and count the failures""" # Scale the number of concurrent processes to the number of test cases, but # max out at 12 concurrent processes to not overwhelm the system + try: + os.mkdir("regression_logs") + except: + pass pool = multiprocessing.Pool(min(len(configs), 12)) # Count the number of failures num_fail = sum(pool.map(run_test_case, configs))