From f04ca5cb6ad7793adbb91916000369f9d2d9ac7d Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Fri, 16 Dec 2022 12:51:21 -0600 Subject: [PATCH] Fixed regression-wally to correct remove and mkdir wkdir. --- pipelined/regression/regression-wally | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pipelined/regression/regression-wally b/pipelined/regression/regression-wally index aae1b5415..9a5a53d28 100755 --- a/pipelined/regression/regression-wally +++ b/pipelined/regression/regression-wally @@ -163,8 +163,12 @@ def main(): #print(regressionDir) except: pass - shutil.rmtree("wkdir") - os.mkdir("wkdir") + try: + shutil.rmtree("wkdir") + except: + pass + finally: + os.mkdir("wkdir") if '-makeTests' in sys.argv: os.chdir(regressionDir)