From 41845ec17e96d5241e58f2d92c928da084f986ce Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Sat, 6 Apr 2024 16:29:58 -0500 Subject: [PATCH] Fixed issues around missing directories. --- bin/regression-wally | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/regression-wally b/bin/regression-wally index 0cd195db7..7473a4058 100755 --- a/bin/regression-wally +++ b/bin/regression-wally @@ -246,10 +246,10 @@ def run_test_case(config): # Main body ################################## -regressionDir = os.path.dirname(os.path.abspath(__file__)) -os.chdir(regressionDir) WALLY = os.environ.get('WALLY') +regressionDir = WALLY + '/sim' +os.chdir(regressionDir) coveragesim = "questa" # Questa is required for code/functional coverage defaultsim = "questa" # Default simulator for all other tests; change to Verilator when flow is ready @@ -347,6 +347,8 @@ def main(): try: os.mkdir(d) except: + print(f'Failed to make logs and wkdir {d}') + print(f'regressionDir is {regressionDir}') pass if '-makeTests' in sys.argv: