Skip to content

Commit

Permalink
Update test script
Browse files Browse the repository at this point in the history
In commit 681ef7f
I added the ability to specify a root function, instead of defaulting to
the main function, but forgot to update the test script command to use
that flag, and so some of the tests were failing.
  • Loading branch information
dc-mak committed Nov 1, 2024
1 parent 942cc39 commit 4964af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/test/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self, carver):

def run(self, input_rel_path):
cwd = os.getcwd()
completed = subprocess.run([self.carver, input_rel_path], capture_output=True, text=True)
completed = subprocess.run([self.carver, '-r=main', input_rel_path], capture_output=True, text=True)
return completed.stdout if completed.stdout != None else completed.stderr

def output(self, input_rel_path):
Expand Down

0 comments on commit 4964af4

Please sign in to comment.