Index: tools/run_perf.py |
diff --git a/tools/run_perf.py b/tools/run_perf.py |
index f7710796bc3e7c651e4effcae031e1fd95eec129..46269f392ab8b5223977632a81ab51ee930c8fd6 100755 |
--- a/tools/run_perf.py |
+++ b/tools/run_perf.py |
@@ -411,8 +411,8 @@ def MakeGraph(suite, arch, parent): |
if isinstance(parent, Runnable): |
# Below a runnable can only be traces. |
return Trace(suite, parent, arch) |
- elif suite.get("main"): |
- # A main file makes this graph runnable. |
+ elif suite.get("main") != None: |
Michael Achenbach
2015/04/10 09:09:47
is not None
|
+ # A main file makes this graph runnable. Empty strings are accepted. |
if suite.get("tests"): |
# This graph has subgraphs (traces). |
return Runnable(suite, parent, arch) |