Revision f230a1cf deps/v8/test/message/testcfg.py
deps/v8/test/message/testcfg.py | ||
---|---|---|
35 | 35 |
|
36 | 36 |
|
37 | 37 |
FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)") |
38 |
INVALID_FLAGS = ["--enable-slow-asserts"] |
|
38 | 39 |
|
39 | 40 |
|
40 | 41 |
class MessageTestSuite(testsuite.TestSuite): |
... | ... | |
62 | 63 |
for match in flags_match: |
63 | 64 |
result += match.strip().split() |
64 | 65 |
result += context.mode_flags |
66 |
result = [x for x in result if x not in INVALID_FLAGS] |
|
65 | 67 |
result.append(os.path.join(self.root, testcase.path + ".js")) |
66 | 68 |
return testcase.flags + result |
67 | 69 |
|
Also available in: Unified diff