Skip to content

Commit

Permalink
test: pass additional_flags to each test case
Browse files Browse the repository at this point in the history
Just like the SimpleTestConfiguration, the AddonTestConfiguration must
also pass the additional_flags it receives in the constructor to each
test case it provides.
  • Loading branch information
Gabriel Schulhof committed Mar 16, 2017
1 parent 7473a02 commit 1565f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,5 @@ def ListTests(self, current_path, path, arch, mode):
if self.Contains(path, test):
file_path = join(self.root, reduce(join, test[1:], "") + ".js")
result.append(
SimpleTestCase(test, file_path, arch, mode, self.context, self))
SimpleTestCase(test, file_path, arch, mode, self.context, self, self.additional_flags))
return result

0 comments on commit 1565f5c

Please sign in to comment.