summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2015-09-03 19:00:18 +0300
committerMartin Peres <martin.peres@linux.intel.com>2015-09-03 19:00:18 +0300
commit839b1676bb00a139d5ee98246352da3093cdce0e (patch)
treec161ef844d620b51d0622ce6065a811b881e9585
parent7b066084b391a83e81d1e321f2d53512a2ec0116 (diff)
utils/perf_bisect: do not pass the -m argument to ezbench if it is not set
-rwxr-xr-xutils/perf_bisect.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/perf_bisect.py b/utils/perf_bisect.py
index c2f4dba..7bcac9f 100755
--- a/utils/perf_bisect.py
+++ b/utils/perf_bisect.py
@@ -80,7 +80,8 @@ ezbench_cmd.append(ezbench_dir + "ezbench.sh")
ezbench_cmd.append("-p"); ezbench_cmd.append(args.repo_path)
ezbench_cmd.append("-b"); ezbench_cmd.append(args.benchmark + '$')
ezbench_cmd.append("-r"); ezbench_cmd.append(str(args.rounds))
-ezbench_cmd.append("-m"); ezbench_cmd.append(args.make_cmd)
+if args.make_cmd is not None:
+ ezbench_cmd.append("-m"); ezbench_cmd.append(args.make_cmd)
ezbench_cmd.append("-N"); ezbench_cmd.append(reportName)
print("Checking the performance of:")