Revision: 16854
Author:   [email protected]
Date:     Fri Sep 20 09:26:25 2013 UTC
Log:      Skip intl tests from test262 when intl support is disabled.

Skips the whole intl directory if intl support is disabled through the test driver.

One test outside the intl directory is skipped separately. It will be handled in an extra CL.

[email protected], [email protected]

Review URL: https://codereview.chromium.org/23792008
http://code.google.com/p/v8/source/detail?r=16854

Modified:
 /branches/bleeding_edge/test/test262/test262.status
 /branches/bleeding_edge/test/test262/testcfg.py
 /branches/bleeding_edge/tools/run-deopt-fuzzer.py
 /branches/bleeding_edge/tools/run-tests.py
 /branches/bleeding_edge/tools/testrunner/objects/context.py

=======================================
--- /branches/bleeding_edge/test/test262/test262.status Thu Sep 19 16:25:35 2013 UTC +++ /branches/bleeding_edge/test/test262/test262.status Fri Sep 20 09:26:25 2013 UTC
@@ -36,6 +36,9 @@
 # V8 Bug: http://code.google.com/p/v8/issues/detail?id=691
 11.2.3-3_3: FAIL

+# TODO(jochen): Needs to be skipped only in noi18n mode.
+15.5.4.9_CE: SKIP
+
 ######################## NEEDS INVESTIGATION ###########################

# These test failures are specific to the intl402 suite and need investigation
=======================================
--- /branches/bleeding_edge/test/test262/testcfg.py Thu Sep 19 14:51:50 2013 UTC +++ /branches/bleeding_edge/test/test262/testcfg.py Fri Sep 20 09:26:25 2013 UTC
@@ -59,6 +59,8 @@
     for dirname, dirs, files in os.walk(self.testroot):
       for dotted in [x for x in dirs if x.startswith(".")]:
         dirs.remove(dotted)
+      if context.noi18n and "intl402" in dirs:
+        dirs.remove("intl402")
       dirs.sort()
       files.sort()
       for filename in files:
=======================================
--- /branches/bleeding_edge/tools/run-deopt-fuzzer.py Thu Aug 22 16:14:37 2013 UTC +++ /branches/bleeding_edge/tools/run-deopt-fuzzer.py Fri Sep 20 09:26:25 2013 UTC
@@ -358,7 +358,8 @@
                         mode_flags, options.verbose,
                         timeout, options.isolates,
                         options.command_prefix,
-                        options.extra_flags)
+                        options.extra_flags,
+                        False)

   # Find available test suites and read test cases from them.
   variables = {
=======================================
--- /branches/bleeding_edge/tools/run-tests.py  Thu Sep 19 12:07:03 2013 UTC
+++ /branches/bleeding_edge/tools/run-tests.py  Fri Sep 20 09:26:25 2013 UTC
@@ -307,7 +307,8 @@
                         mode_flags, options.verbose,
                         timeout, options.isolates,
                         options.command_prefix,
-                        options.extra_flags)
+                        options.extra_flags,
+                        options.no_i18n)

   # Find available test suites and read test cases from them.
   variables = {
=======================================
--- /branches/bleeding_edge/tools/testrunner/objects/context.py Wed Jan 23 11:41:56 2013 UTC +++ /branches/bleeding_edge/tools/testrunner/objects/context.py Fri Sep 20 09:26:25 2013 UTC
@@ -28,7 +28,7 @@

 class Context():
   def __init__(self, arch, mode, shell_dir, mode_flags, verbose, timeout,
-               isolates, command_prefix, extra_flags):
+               isolates, command_prefix, extra_flags, noi18n):
     self.arch = arch
     self.mode = mode
     self.shell_dir = shell_dir
@@ -38,13 +38,14 @@
     self.isolates = isolates
     self.command_prefix = command_prefix
     self.extra_flags = extra_flags
+    self.noi18n = noi18n

   def Pack(self):
return [self.arch, self.mode, self.mode_flags, self.timeout, self.isolates,
-            self.command_prefix, self.extra_flags]
+            self.command_prefix, self.extra_flags, self.noi18n]

   @staticmethod
   def Unpack(packed):
     # For the order of the fields, refer to Pack() above.
     return Context(packed[0], packed[1], None, packed[2], False,
-                   packed[3], packed[4], packed[5], packed[6])
+                   packed[3], packed[4], packed[5], packed[6], packed[7])

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to