From 031bfa588723f9379e0717a5c23c35f33999a4f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Lang=C3=B3?= Date: Tue, 14 Mar 2017 14:09:01 +0100 Subject: [PATCH] Temporarily disable a few test262 tests in automatic testing. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Those tests are related the actual daylight saving adjustment. Related issue: #1661 JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com --- .../ecma/builtin-objects/ecma-builtin-helpers-date.c | 4 ++++ tools/runners/run-test-suite-test262.sh | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-helpers-date.c b/jerry-core/ecma/builtin-objects/ecma-builtin-helpers-date.c index 34ea26a56b..f5442e2727 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-helpers-date.c +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-helpers-date.c @@ -312,6 +312,10 @@ ecma_date_daylight_saving_ta (jerry_time_zone_t *tz, /**< time zone information { JERRY_ASSERT (!ecma_number_is_nan (time)); + /* + * TODO: Fix daylight saving calculation. + * https://github.com/jerryscript-project/jerryscript/issues/1661 + */ return tz->daylight_saving_time * ECMA_DATE_MS_PER_HOUR; } /* ecma_date_daylight_saving_ta */ diff --git a/tools/runners/run-test-suite-test262.sh b/tools/runners/run-test-suite-test262.sh index 882e8fe9a9..9c73ab68db 100755 --- a/tools/runners/run-test-suite-test262.sh +++ b/tools/runners/run-test-suite-test262.sh @@ -41,6 +41,14 @@ fi rm -rf "${PATH_TO_TEST262}/test/suite/bestPractice" rm -rf "${PATH_TO_TEST262}/test/suite/intl402" +# TODO: Enable these tests after daylight saving calculation is fixed. +rm -f "${PATH_TO_TEST262}/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T1.js" +rm -f "${PATH_TO_TEST262}/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T2.js" +rm -f "${PATH_TO_TEST262}/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T3.js" +rm -f "${PATH_TO_TEST262}/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T4.js" +rm -f "${PATH_TO_TEST262}/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T5.js" +rm -f "${PATH_TO_TEST262}/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T6.js" + echo "Starting test262 testing for ${ENGINE}. Running test262 may take a several minutes." "${PATH_TO_TEST262}"/tools/packaging/test262.py --command "timeout ${TIMEOUT} ${ENGINE}" \