From b48e25a3d56d173fa3816de2ba3c41f2458920aa Mon Sep 17 00:00:00 2001 From: "Nathan X. Marshak" Date: Mon, 15 Apr 2024 12:52:19 -0600 Subject: [PATCH] Support running regtests.py outside .ini directory Now it is possible to give an absolute or relative path to the .ini file, rather than needing to invoke regtests.py from the directory in which the .ini file is located. --- suite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite.py b/suite.py index eb53f88..09bacf3 100644 --- a/suite.py +++ b/suite.py @@ -402,7 +402,7 @@ def __init__(self, args): # and build directories self.repos = {} - self.test_file_path = os.getcwd() + '/' + self.args.input_file[0] + self.test_file_path = os.path.abspath(self.args.input_file[0]) self.suiteName = "testDefault" self.sub_title = ""