Skip to content

Commit b48e25a

Browse files
committed
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.
1 parent dfb14d7 commit b48e25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

suite.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def __init__(self, args):
402402
# and build directories
403403
self.repos = {}
404404

405-
self.test_file_path = os.getcwd() + '/' + self.args.input_file[0]
405+
self.test_file_path = os.path.abspath(self.args.input_file[0])
406406

407407
self.suiteName = "testDefault"
408408
self.sub_title = ""

0 commit comments

Comments
 (0)