From: Simon Hausmann Date: Tue, 22 Jan 2013 11:20:31 +0000 (+0100) Subject: Run the tests in a simulated pacific time zone X-Git-Tag: upstream/5.2.1~669^2~659^2~431 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65aa5a7739a7de30f39758a5fa0634fcc32d5e2b;p=platform%2Fupstream%2Fqtdeclarative.git Run the tests in a simulated pacific time zone Some date related tests rely on this. Change-Id: I764392d8bfdc1f738bb218d43bc234b901384c78 Reviewed-by: Lars Knoll --- 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)