Add ArrayBuffer regression tests (#1477)

Add a set of tests to ensure basic coverage of the ArrayBuffer built-in. Support for ArrayBuffer was added in #1467.

Closes #1475.

JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com
This commit is contained in:
Zidong Jiang
2016-12-09 15:04:49 +08:00
committed by Tilmann Scheller
parent 0511091e8a
commit fb2edd8556
16 changed files with 1709 additions and 1 deletions
+7 -1
View File
@@ -83,6 +83,10 @@ jerry_test_suite_options.append(Options('jerry_test_suite-minimal', ['--profile=
jerry_test_suite_options.append(Options('jerry_test_suite-minimal-snapshot', ['--profile=minimal', '--snapshot-save=on', '--snapshot-exec=on'], ['--snapshot']))
jerry_test_suite_options.append(Options('jerry_test_suite-minimal-debug', ['--debug', '--profile=minimal']))
jerry_test_suite_options.append(Options('jerry_test_suite-minimal-debug-snapshot', ['--debug', '--profile=minimal', '--snapshot-save=on', '--snapshot-exec=on'], ['--snapshot']))
jerry_test_suite_options.append(Options('jerry_test_suite-es2015-subset', ['--profile=es2015-subset']))
jerry_test_suite_options.append(Options('jerry_test_suite-es2015-subset-snapshot', ['--profile=es2015-subset', '--snapshot-save=on', '--snapshot-exec=on'], ['--snapshot']))
jerry_test_suite_options.append(Options('jerry_test_suite-es2015-subset-debug', ['--debug', '--profile=es2015-subset']))
jerry_test_suite_options.append(Options('jerry_test_suite-es2015-subset-debug-snapshot', ['--debug', '--profile=es2015-subset', '--snapshot-save=on', '--snapshot-exec=on'], ['--snapshot']))
# Test options for test262
test262_test_suite_options = [
@@ -160,8 +164,10 @@ def run_jerry_test_suite():
if '--profile=minimal' in job.build_args:
test_cmd.append(JERRY_TEST_SUITE_MINIMAL_LIST)
else:
elif '--profile=es2015-subset' in job.build_args:
test_cmd.append(JERRY_TEST_SUITE_DIR)
else:
test_cmd.append(JERRY_TEST_SUITE_ES51_LIST)
if job.test_args:
test_cmd.extend(job.test_args)