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
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