Exemplo n.º 1
0
def main(argv=None):  # pylint: disable=function-redefined
  def main_wrapper():
    args = argv
    if args is None:
      args = sys.argv
    return app.run(main=g_main, argv=args)
  benchmark.benchmarks_main(true_main=main_wrapper)
Exemplo n.º 2
0
def main(argv=None):  # pylint: disable=function-redefined
  def main_wrapper():
    args = argv
    if args is None:
      args = sys.argv
    return app.run(main=g_main, argv=args)
  benchmark.benchmarks_main(true_main=main_wrapper)
Exemplo n.º 3
0
def main():
  benchmark.benchmarks_main(true_main=g_main)
Exemplo n.º 4
0
def main():
    benchmark.benchmarks_main(true_main=g_main)
Exemplo n.º 5
0
def main():  # pylint: disable=function-redefined
  benchmark.benchmarks_main(true_main=g_main)
Exemplo n.º 6
0
def main():  # pylint: disable=function-redefined
  def main_wrapper():
    return app.run(main=g_main, argv=sys.argv)
  benchmark.benchmarks_main(true_main=main_wrapper)
Exemplo n.º 7
0
def main():
    # Benchmarks determine whether to run tests or not, by calling g_main
    benchmark.benchmarks_main(true_main=g_main)
Exemplo n.º 8
0
def main():
  # Benchmarks determine whether to run tests or not, by calling g_main
  benchmark.benchmarks_main(true_main=g_main)
Exemplo n.º 9
0
def main():  # pylint: disable=function-redefined
    benchmark.benchmarks_main(true_main=g_main)
Exemplo n.º 10
0
def main():  # pylint: disable=function-redefined
    def main_wrapper():
        return app.run(main=g_main, argv=sys.argv)

    benchmark.benchmarks_main(true_main=main_wrapper)