Lines Matching refs:s
249 for s in list(sys.argv[1:]):
250 if s[:7] == "camera=" and len(s) > 7:
251 camera_ids = s[7:].split(',')
253 one_camera_argv.remove(s)
254 elif s[:7] == "scenes=" and len(s) > 7:
255 scenes = s[7:].split(',')
256 elif s[:6] == 'chart=' and len(s) > 6:
257 chart_host_id = s[6:]
258 elif s[:7] == 'result=' and len(s) > 7:
259 result_device_id = s[7:]
260 elif s[:8] == 'rot_rig=' and len(s) > 8:
261 rot_rig_id = s[8:] # valid values: 'default' or '$VID:$PID:$CH'
263 elif s[:8] == 'tmp_dir=' and len(s) > 8:
264 tmp_dir = s[8:]
265 elif s == 'skip_scene_validation':
267 elif s[:5] == 'dist=' and len(s) > 5:
268 chart_distance = float(re.sub('cm', '', s[5:]))
269 elif s[:11] == 'brightness=' and len(s) > 11:
270 chart_level = s[11:]
285 for s in scenes:
286 if s in possible_scenes:
287 temp_scenes.append(s)
291 scene_str = "scene" + s
301 print 'Unknown scene specified:', s
398 for s in all_scenes:
399 results[s] = {result_key: ItsSession.RESULT_NOT_EXECUTED}
421 tests = [(s[:-3], os.path.join("tests", scene, s))
422 for s in os.listdir(os.path.join("tests", scene))
423 if s[-3:] == ".py" and s[:4] == "test"]