Lines Matching defs:run
38 print("\n num_iterations is the number of times to run each karatsuba number; default is 4")
39 print("\n test_num is the last Karatsuba number to run through tests")
43 def run(cmd, env=None):
44 return subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env)
54 print("Though it only needs to be run once per release/platform,")
55 print("it takes forever to run.")
59 # This script has to be run by itself.
116 p = run([ "{}/../configure.sh".format(testdir), "-O3" ], flags)
121 p = run([ "make" ])
130 p = run([ "make", "clean" ])
139 p = run([ "make", "-j16" ])
161 p = run([ "{}/../configure.sh".format(testdir), "-O3", "-k{}".format(i) ], config_env)
167 p = run(makecmd)
182 p = subprocess.run(cmd + sys.argv[args_idx:], stderr=subprocess.PIPE)
197 p = subprocess.run(cmd + sys.argv[args_idx:], stderr=subprocess.PIPE)
217 p = subprocess.run(cmd, input=indata, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
235 # want to report the best run, so we make sure to grab the times here before