| Index: test/message/testcfg.py
|
| diff --git a/test/message/testcfg.py b/test/message/testcfg.py
|
| index cb5f504abfeb0eb92e203ff6ad8b6c42224f64dc..89cdcf7559e0d887c9462d374d4a171635e9709c 100644
|
| --- a/test/message/testcfg.py
|
| +++ b/test/message/testcfg.py
|
| @@ -35,6 +35,7 @@ from testrunner.objects import testcase
|
|
|
|
|
| FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
|
| +INVALID_FLAGS = ["--enable-slow-asserts"]
|
|
|
|
|
| class MessageTestSuite(testsuite.TestSuite):
|
| @@ -62,6 +63,7 @@ class MessageTestSuite(testsuite.TestSuite):
|
| for match in flags_match:
|
| result += match.strip().split()
|
| result += context.mode_flags
|
| + result = [x for x in result if x not in INVALID_FLAGS]
|
| result.append(os.path.join(self.root, testcase.path + ".js"))
|
| return testcase.flags + result
|
|
|
|
|