Index: test/test262/testcfg.py |
diff --git a/test/test262/testcfg.py b/test/test262/testcfg.py |
index bf007bd46ffabfaab1fba04e54fa4c5f026d5f81..c324e281b54764d92e3305aa59af8c3c53b5c11e 100644 |
--- a/test/test262/testcfg.py |
+++ b/test/test262/testcfg.py |
@@ -129,6 +129,7 @@ class Test262TestSuite(testsuite.TestSuite): |
def GetFlagsForTestCase(self, testcase, context): |
return (testcase.flags + context.mode_flags + self.harness + |
self.GetIncludesForTest(testcase) + ["--harmony"] + |
+ (["--module"] if "module" in self.GetTestRecord(testcase) else []) + |
[os.path.join(self.testroot, testcase.path + ".js")] + |
(["--throws"] if "negative" in self.GetTestRecord(testcase) else [])) |