gpu/khronos_glcts_support/generate_khronos_glcts_tests.py
def main():
  """This is the main function."""
  parser = argparse.ArgumentParser()
  parser.add_argument("--outdir", default = ".")
  parser.add_argument("run_files", nargs = "+")

  args = parser.parse_args()

  output = open(
    os.path.join(args.outdir, "khronos_glcts_test_autogen.cc"), "wb")

  try:
    GenerateTests(args.run_files, output)
  finally:
    output.close()

  return 0
This is the main function.
This is the main function.
This is the main function .
def main():
  parser = argparse.ArgumentParser()
  parser.add_argument("--outdir", default = ".")
  parser.add_argument("run_files", nargs = "+")
  args = parser.parse_args()
  output = open(
    os.path.join(args.outdir, "khronos_glcts_test_autogen.cc"), "wb")
  try:
    GenerateTests(args.run_files, output)
  finally:
    output.close()
  return 0
def main ( ) : parser = argparse . ArgumentParser ( ) parser . add_argument ( "--outdir" , default = "." ) parser . add_argument ( "run_files" , nargs = "+" ) args = parser . parse_args ( ) output = open ( os . path . join ( args . outdir , "khronos_glcts_test_autogen.cc" ) , "wb" ) try : GenerateTests ( args . run_files , output ) finally : output . close ( ) return 0
This is the main function.
This is the main function .
"""This is the main function."""