Ensured tests can be run from any directory.
This commit is contained in:
parent
065d62d2fc
commit
c2aca79428
2 changed files with 4 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ def result_path(tool, input_filename):
|
|||
|
||||
|
||||
def run_tool(tool, input_filename):
|
||||
with chdir("golden-files"):
|
||||
with chdir(os.path.join(VIGIL_ROOT, "golden-files")):
|
||||
return tool(os.path.join(".", "input", input_filename))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue