Change jerry_port interface to allow for a correct implementation of timezones. (#2540)
The previous jerry_port interface did not allow timezones to be handled correctly, even if the host system was up to the task. This PR changes the jerry_port interface to allow a completely correct implementation to exist, and provides one (for Linux/BSD systems) in default-date.c. Fixes #1661 JerryScript-DCO-1.0-Signed-off-by: crazy2be crazy1be@gmail.com
This commit is contained in:
@@ -52,15 +52,8 @@ 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 several minutes."
|
||||
|
||||
echo "Starting test262 testing for ${ENGINE}. Running test262 may take a several minutes."
|
||||
|
||||
function progress_monitor() {
|
||||
NUM_LINES_GOTTEN=0
|
||||
@@ -85,7 +78,7 @@ python2 "${PATH_TO_TEST262}"/tools/packaging/test262.py --command "${COMMAND}" \
|
||||
TEST262_EXIT_CODE=$?
|
||||
if [ $TEST262_EXIT_CODE -ne 0 ]
|
||||
then
|
||||
echo -e "\nFailed to run test2626\n"
|
||||
echo -e "\nFailed to run test262\n"
|
||||
echo "$0: see ${REPORT_PATH} for details about failures"
|
||||
exit $TEST262_EXIT_CODE
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user