From 65aa5a7739a7de30f39758a5fa0634fcc32d5e2b Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 22 Jan 2013 12:20:31 +0100 Subject: [PATCH] Run the tests in a simulated pacific time zone Some date related tests rely on this. Change-Id: I764392d8bfdc1f738bb218d43bc234b901384c78 Reviewed-by: Lars Knoll --- tests/TestExpectations | 13 +------------ tests/test262.py | 2 ++ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/tests/TestExpectations b/tests/TestExpectations index 7faeaa7..d22c616 100644 --- a/tests/TestExpectations +++ b/tests/TestExpectations @@ -2,16 +2,6 @@ S15.1.3.1_A2.5_T1 S15.1.3.2_A2.5_T1 -# broken test cases -# The test data in the 6 tests below is wrong. V8 agrees with our results and the test suite is 0.375 days off -S15.9.3.1_A5_T1 failing -S15.9.3.1_A5_T2 failing -S15.9.3.1_A5_T3 failing -S15.9.3.1_A5_T4 failing -S15.9.3.1_A5_T5 failing -S15.9.3.1_A5_T6 failing - - # Tests failing that are supposed to pass. S10.2.3_A1.1_T2 failing S10.2.3_A1.2_T2 failing @@ -561,7 +551,6 @@ S15.5.4.15_A1_T7 failing S15.5.4.15_A1_T8 failing S15.5.4.15_A1_T9 failing 15.5.4.20-4-1 failing -S15.5.4.7_A1_T11 failing S15.5.4.8_A1_T4 failing S15.7.4.5_A1.4_T01 failing 6.4_c failing @@ -745,4 +734,4 @@ S15.4.4.4_A1_T2 failing 15.4.4.21-8-b-iii-1-6 failing 15.12.3_4-1-1 -15.12.3_4-1-3 \ No newline at end of file +15.12.3_4-1-3 diff --git a/tests/test262.py b/tests/test262.py index 7f95808..09a3931 100755 --- a/tests/test262.py +++ b/tests/test262.py @@ -523,6 +523,8 @@ class TestSuite(object): def Main(): + # Some date tests rely on being run in pacific time. + os.environ["TZ"] = "PST8PDT" parser = BuildOptions() (options, args) = parser.parse_args() ValidateOptions(options) -- 2.7.4