Lines Matching +full:set +full:- +full:job +full:- +full:env +full:- +full:vars
17 py_version_re = re.compile(r'--py_version=(\w+)\b')
21 if not arg.startswith('--py_version'):
26 raise ValueError('--py_version may only be specified once.')
42 If the PY_VERSION env var is set, just return that. This is the case
43 when autoserv kicks of autotest on the server side via a job.run(), or
46 Otherwise, parse & pop the sys.argv for the '--py_version' flag. If no
47 flag is set, default to python 3.
50 # Even if the arg is in the env vars, we will attempt to get it from the
65 # There are cases were this can be set (ie by test_that), but a subprocess
84 # out the original record causing the error so there is -some- idea
94 sys.stderr.write('-' * 50 + '\n')
104 os.system('rm -f %s' % logging_py)
107 # A nicer way of doing this -might- be to have our own logging module define
122 sys.path.insert(0, os.path.join(root, 'site-packages'))
235 # The old code to setup the packages used to fetch the top-level packages
237 # add import statements for the top-level packages all over the codebase.