| OLD | NEW |
| 1 # Copyright 2009 the V8 project authors. All rights reserved. | 1 # Copyright 2009 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 def GetBuildRequirements(self): | 102 def GetBuildRequirements(self): |
| 103 return ['sample', 'sample=shell'] | 103 return ['sample', 'sample=shell'] |
| 104 | 104 |
| 105 def GetTestStatus(self, sections, defs): | 105 def GetTestStatus(self, sections, defs): |
| 106 status_file = join(self.root, 'sputnik.status') | 106 status_file = join(self.root, 'sputnik.status') |
| 107 if exists(status_file): | 107 if exists(status_file): |
| 108 test.ReadConfigurationInto(status_file, sections, defs) | 108 test.ReadConfigurationInto(status_file, sections, defs) |
| 109 | 109 |
| 110 | 110 |
| 111 def GetConfiguration(context, root): | 111 def GetConfiguration(context, root): |
| 112 checkout = join(root, 'sputniktests') | |
| 113 if not exists(checkout): | |
| 114 print "No checkout of sputniktests found. Check out the tests under" | |
| 115 print "v8/test/sputnik using:" | |
| 116 print " svn co http://sputniktests.googlecode.com/svn/trunk/ sputniktests" | |
| 117 sys.exit(0) | |
| 118 return SputnikTestConfiguration(context, root) | 112 return SputnikTestConfiguration(context, root) |
| OLD | NEW |