tools/nocompile_driver.py
def ValidateInput(compiler, parallelism, sourcefile_path, cflags,
                  resultfile_path):
  """Make sure the arguments being passed in are sane."""
  assert os.path.isfile(compiler)
  assert parallelism >= 1
  assert type(sourcefile_path) is str
  assert type(cflags) is list
  for flag in cflags:
    assert type(flag) is str
  assert type(resultfile_path) is str
Make sure the arguments being passed in are sane.
Make sure the arguments being passed in are sane.
Make sure the arguments being passed in are sane .
def ValidateInput(compiler, parallelism, sourcefile_path, cflags,
                  resultfile_path):
  assert os.path.isfile(compiler)
  assert parallelism >= 1
  assert type(sourcefile_path) is str
  assert type(cflags) is list
  for flag in cflags:
    assert type(flag) is str
  assert type(resultfile_path) is str
def ValidateInput ( compiler , parallelism , sourcefile_path , cflags , resultfile_path ) : assert os . path . isfile ( compiler ) assert parallelism >= 1 assert type ( sourcefile_path ) is str assert type ( cflags ) is list for flag in cflags : assert type ( flag ) is str assert type ( resultfile_path ) is str
Make sure the arguments being passed in are sane.
Make sure the arguments being passed in are sane .
"""Make sure the arguments being passed in are sane."""
compiler
parallelism
sourcefile_path
cflags
resultfile_path