Lines Matching refs:s
181 for s in sys.argv[1:]:
182 if s[:7] == "camera=" and len(s) > 7:
183 camera_ids = s[7:].split(',')
184 elif s[:7] == "scenes=" and len(s) > 7:
185 scenes = s[7:].split(',')
186 elif s[:6] == 'chart=' and len(s) > 6:
187 chart_host_id = s[6:]
188 elif s[:7] == 'result=' and len(s) > 7:
189 result_device_id = s[7:]
190 elif s[:8] == 'rot_rig=' and len(s) > 8:
191 rot_rig_id = s[8:] # valid values: 'default' or '$VID:$PID:$CH'
193 elif s[:8] == 'tmp_dir=' and len(s) > 8:
194 tmp_dir = s[8:]
195 elif s == 'skip_scene_validation':
197 elif s[:5] == 'dist=' and len(s) > 5:
198 chart_distance = float(re.sub('cm', '', s[5:]))
212 for s in scenes:
213 if s in possible_scenes:
214 temp_scenes.append(s)
218 scene_str = "scene" + s
228 print 'Unknown scene specified:', s
235 for s in all_scenes:
236 results[s] = {result_key: ItsSession.RESULT_NOT_EXECUTED}
293 tests = [(s[:-3], os.path.join("tests", scene, s))
294 for s in os.listdir(os.path.join("tests", scene))
295 if s[-3:] == ".py" and s[:4] == "test"]