diff options
author | Ryan <ry@tinyclouds.org> | 2009-09-09 22:01:54 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-09-09 22:01:54 +0200 |
commit | fcff66bf29fef8a9d568ebb4cb7192ab32afe3f7 (patch) | |
tree | 8ea321ed7f248a54403d86154d4df325960d41ef /deps/v8/test/mjsunit/testcfg.py | |
parent | efb2b703a655b29a692819c8bdb191792da6416e (diff) | |
download | node-new-fcff66bf29fef8a9d568ebb4cb7192ab32afe3f7.tar.gz |
Upgrade v8 to 1.3.10
Diffstat (limited to 'deps/v8/test/mjsunit/testcfg.py')
-rw-r--r-- | deps/v8/test/mjsunit/testcfg.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/testcfg.py b/deps/v8/test/mjsunit/testcfg.py index 96840f5cf8..97924c8de0 100644 --- a/deps/v8/test/mjsunit/testcfg.py +++ b/deps/v8/test/mjsunit/testcfg.py @@ -31,7 +31,7 @@ from os.path import join, dirname, exists import re import tempfile - +MJSUNIT_DEBUG_FLAGS = ['--enable-slow-asserts', '--debug-code', '--verify-heap'] FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)") FILES_PATTERN = re.compile(r"//\s+Files:(.*)") SELF_SCRIPT_PATTERN = re.compile(r"//\s+Env: TEST_FILE_NAME") @@ -58,6 +58,8 @@ class MjsunitTestCase(test.TestCase): flags_match = FLAGS_PATTERN.search(source) if flags_match: result += flags_match.group(1).strip().split() + if self.mode == 'debug': + result += MJSUNIT_DEBUG_FLAGS additional_files = [] files_match = FILES_PATTERN.search(source); # Accept several lines of 'Files:' |