Run the tests in a simulated pacific time zone
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 22 Jan 2013 11:20:31 +0000 (12:20 +0100)
committerLars Knoll <lars.knoll@digia.com>
Tue, 22 Jan 2013 11:21:39 +0000 (12:21 +0100)
Some date related tests rely on this.

Change-Id: I764392d8bfdc1f738bb218d43bc234b901384c78
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
tests/TestExpectations
tests/test262.py

index 7faeaa7..d22c616 100644 (file)
@@ -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
index 7f95808..09a3931 100755 (executable)
@@ -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)