diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-11-22 11:39:05 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-11-22 11:39:05 -0800 |
commit | 6f69d5d9af1860ce1a9dff9f89c2aafa5a3e6dac (patch) | |
tree | 056dfa11019378abda3aad10699901924cd8835d /html/020run.cc.html | |
parent | 93c9862fa74043f2b0fa616fcc28aee66bc05037 (diff) | |
download | mu-6f69d5d9af1860ce1a9dff9f89c2aafa5a3e6dac.tar.gz |
3682
Clean up the flow of "mu --trace" followed by "mu browse-trace interactive".
Diffstat (limited to 'html/020run.cc.html')
-rw-r--r-- | html/020run.cc.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/html/020run.cc.html b/html/020run.cc.html index be5baa4c..f4aa1652 100644 --- a/html/020run.cc.html +++ b/html/020run.cc.html @@ -225,9 +225,11 @@ save_snapshots<span class="Delimiter">();</span> <span class="Normal">if</span> <span class="Delimiter">(</span>!Run_tests && contains_key<span class="Delimiter">(</span>Recipe_ordinal<span class="Delimiter">,</span> <span class="Constant">"main"</span><span class="Delimiter">)</span> && contains_key<span class="Delimiter">(</span>Recipe<span class="Delimiter">,</span> get<span class="Delimiter">(</span>Recipe_ordinal<span class="Delimiter">,</span> <span class="Constant">"main"</span><span class="Delimiter">)))</span> <span class="Delimiter">{</span> <span class="Comment">// Running Main</span> setup<span class="Delimiter">();</span> -<span class="CommentedCode">//? Save_trace = true;</span> - <span class="Normal">if</span> <span class="Delimiter">(</span>Start_tracing<span class="Delimiter">)</span> Trace_stream = <span class="Normal">new</span> trace_stream<span class="Delimiter">;</span> - trace<span class="Delimiter">(</span><span class="Constant">9990</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"=== Starting to run"</span> << end<span class="Delimiter">();</span> + <span class="Normal">if</span> <span class="Delimiter">(</span>Start_tracing<span class="Delimiter">)</span> <span class="Delimiter">{</span> + Trace_stream = <span class="Normal">new</span> trace_stream<span class="Delimiter">;</span> + Save_trace = <span class="Constant">true</span><span class="Delimiter">;</span> + <span class="Delimiter">}</span> + trace<span class="Delimiter">(</span><span class="Constant">2</span><span class="Delimiter">,</span> <span class="Constant">"run"</span><span class="Delimiter">)</span> << <span class="Constant">"=== Starting to run"</span> << end<span class="Delimiter">();</span> assert<span class="Delimiter">(</span>Num_calls_to_transform_all == <span class="Constant">1</span><span class="Delimiter">);</span> run_main<span class="Delimiter">(</span>argc<span class="Delimiter">,</span> argv<span class="Delimiter">);</span> teardown<span class="Delimiter">();</span> |