Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: test/sputnik/testcfg.py

Issue 381002: Fixed breakage of test running when sputniktests not checked out. (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/sputnik/README ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « test/sputnik/README ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698