| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 91 |
| 92 def shell(self): | 92 def shell(self): |
| 93 return "d8" | 93 return "d8" |
| 94 | 94 |
| 95 def suffix(self): | 95 def suffix(self): |
| 96 return ".js" | 96 return ".js" |
| 97 | 97 |
| 98 def status_file(self): | 98 def status_file(self): |
| 99 return "%s/%s.status" % (self.root, self.name) | 99 return "%s/%s.status" % (self.root, self.name) |
| 100 | 100 |
| 101 def Setup(self): |
| 102 pass |
| 103 |
| 104 def TearDown(self): |
| 105 pass |
| 106 |
| 101 # Used in the status file and for stdout printing. | 107 # Used in the status file and for stdout printing. |
| 102 def CommonTestName(self, testcase): | 108 def CommonTestName(self, testcase): |
| 103 if utils.IsWindows(): | 109 if utils.IsWindows(): |
| 104 return testcase.path.replace("\\", "/") | 110 return testcase.path.replace("\\", "/") |
| 105 else: | 111 else: |
| 106 return testcase.path | 112 return testcase.path |
| 107 | 113 |
| 108 def ListTests(self, context): | 114 def ListTests(self, context): |
| 109 raise NotImplementedError | 115 raise NotImplementedError |
| 110 | 116 |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 return (testcase.flags + ["--gtest_filter=" + testcase.path] + | 363 return (testcase.flags + ["--gtest_filter=" + testcase.path] + |
| 358 ["--gtest_random_seed=%s" % context.random_seed] + | 364 ["--gtest_random_seed=%s" % context.random_seed] + |
| 359 ["--gtest_print_time=0"] + | 365 ["--gtest_print_time=0"] + |
| 360 context.mode_flags) | 366 context.mode_flags) |
| 361 | 367 |
| 362 def _VariantGeneratorFactory(self): | 368 def _VariantGeneratorFactory(self): |
| 363 return StandardVariantGenerator | 369 return StandardVariantGenerator |
| 364 | 370 |
| 365 def shell(self): | 371 def shell(self): |
| 366 return self.name | 372 return self.name |
| OLD | NEW |