From 1565f5c9022b28ce3fd5fdb902da2159f005f53f Mon Sep 17 00:00:00 2001 From: Gabriel Schulhof Date: Wed, 15 Mar 2017 22:57:28 +0200 Subject: [PATCH] test: pass additional_flags to each test case Just like the SimpleTestConfiguration, the AddonTestConfiguration must also pass the additional_flags it receives in the constructor to each test case it provides. --- test/testpy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testpy/__init__.py b/test/testpy/__init__.py index 367346f6e1509d..282489579efdfc 100644 --- a/test/testpy/__init__.py +++ b/test/testpy/__init__.py @@ -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