예제 #1
0
파일: test.py 프로젝트: pranith/vixl
def RunBenchmarks(options, args):
  rc = 0
  if CanRunAarch32(options, args):
    benchmark_names = util.ListCCFilesWithoutExt(config.dir_aarch32_benchmarks)
    for bench in benchmark_names:
      rc |= RunCommand(
        [os.path.realpath(
          join(config.dir_build_latest, 'benchmarks/aarch32', bench)), '10'])
  if CanRunAarch64(options, args):
    benchmark_names = util.ListCCFilesWithoutExt(config.dir_aarch64_benchmarks)
    for bench in benchmark_names:
      rc |= RunCommand(
        [util.relrealpath(
            join(config.dir_build_latest,
                'benchmarks/aarch64', bench)), '10'])
  return rc
예제 #2
0
def RunBenchmarks():
    rc = 0
    benchmark_names = util.ListCCFilesWithoutExt(config.dir_benchmarks)
    for bench in benchmark_names:
        rc |= RunCommand([
            os.path.realpath(join(config.dir_build_latest, 'benchmarks',
                                  bench))
        ])
    return rc