Skip to content

Commit

Permalink
Support running regtests.py outside .ini directory
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
n8xm committed Apr 15, 2024
1 parent dfb14d7 commit b48e25a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down

0 comments on commit b48e25a

Please sign in to comment.