| OLD | NEW | 
|   1 # Copyright 2013 the V8 project authors. All rights reserved. |   1 # Copyright 2013 the V8 project authors. All rights reserved. | 
|   2 # Redistribution and use in source and binary forms, with or without |   2 # Redistribution and use in source and binary forms, with or without | 
|   3 # modification, are permitted provided that the following conditions are |   3 # modification, are permitted provided that the following conditions are | 
|   4 # met: |   4 # met: | 
|   5 # |   5 # | 
|   6 #     * Redistributions of source code must retain the above copyright |   6 #     * Redistributions of source code must retain the above copyright | 
|   7 #       notice, this list of conditions and the following disclaimer. |   7 #       notice, this list of conditions and the following disclaimer. | 
|   8 #     * Redistributions in binary form must reproduce the above |   8 #     * Redistributions in binary form must reproduce the above | 
|   9 #       copyright notice, this list of conditions and the following |   9 #       copyright notice, this list of conditions and the following | 
|  10 #       disclaimer in the documentation and/or other materials provided |  10 #       disclaimer in the documentation and/or other materials provided | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  50           test = testcase.TestCase(self, testname) |  50           test = testcase.TestCase(self, testname) | 
|  51           tests.append(test) |  51           tests.append(test) | 
|  52     return tests |  52     return tests | 
|  53  |  53  | 
|  54   def GetFlagsForTestCase(self, testcase, context): |  54   def GetFlagsForTestCase(self, testcase, context): | 
|  55     flags = ["--allow-natives-syntax"] + context.mode_flags |  55     flags = ["--allow-natives-syntax"] + context.mode_flags | 
|  56  |  56  | 
|  57     files = [] |  57     files = [] | 
|  58     files.append(os.path.join(self.root, "assert.js")) |  58     files.append(os.path.join(self.root, "assert.js")) | 
|  59     files.append(os.path.join(self.root, "utils.js")) |  59     files.append(os.path.join(self.root, "utils.js")) | 
|  60     files.append(os.path.join(self.root, "date-format", "utils.js")) |  | 
|  61     files.append(os.path.join(self.root, testcase.path + self.suffix())) |  60     files.append(os.path.join(self.root, testcase.path + self.suffix())) | 
|  62  |  61  | 
|  63     flags += files |  62     flags += files | 
|  64     if context.isolates: |  63     if context.isolates: | 
|  65       flags.append("--isolate") |  64       flags.append("--isolate") | 
|  66       flags += files |  65       flags += files | 
|  67  |  66  | 
|  68     return testcase.flags + flags |  67     return testcase.flags + flags | 
|  69  |  68  | 
|  70  |  69  | 
|  71 def GetSuite(name, root): |  70 def GetSuite(name, root): | 
|  72   return IntlTestSuite(name, root) |  71   return IntlTestSuite(name, root) | 
| OLD | NEW |