diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-07-27 22:51:11 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-07-27 22:51:11 -0700 |
commit | c842d90bbc5ab8f4fb88fb89ebb02c0c12051396 (patch) | |
tree | 12f5b94028df14b2927299271c16c3aa5e1b1e93 /html/001help.cc.html | |
parent | 0c44f591f4370ce7c06ef4b8ccbee513f3552b05 (diff) | |
download | mu-c842d90bbc5ab8f4fb88fb89ebb02c0c12051396.tar.gz |
3158
Diffstat (limited to 'html/001help.cc.html')
-rw-r--r-- | html/001help.cc.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/html/001help.cc.html b/html/001help.cc.html index d6b21301..09f1e4c9 100644 --- a/html/001help.cc.html +++ b/html/001help.cc.html @@ -46,6 +46,10 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color << <span class="Constant">" mu test</span><span class="cSpecial">\n</span><span class="Constant">"</span> << <span class="Constant">"To load files and then run all tests:</span><span class="cSpecial">\n</span><span class="Constant">"</span> << <span class="Constant">" mu test file1.mu file2.mu ...</span><span class="cSpecial">\n</span><span class="Constant">"</span> + << <span class="Constant">"To load files and run only the tests in explicitly loaded files (for apps):</span><span class="cSpecial">\n</span><span class="Constant">"</span> + << <span class="Constant">" mu --test-only-app test file1.mu file2.mu ...</span><span class="cSpecial">\n</span><span class="Constant">"</span> + << <span class="Constant">"'--test-only-app' must come before all other args</span><span class="cSpecial">\n</span><span class="Constant">"</span> + << <span class="Constant">"'test' must come before all other args except '--test-only-app'</span><span class="cSpecial">\n</span><span class="Constant">"</span> << <span class="Constant">"To load all files with a numeric prefix in a directory:</span><span class="cSpecial">\n</span><span class="Constant">"</span> << <span class="Constant">" mu directory1</span><span class="cSpecial">\n</span><span class="Constant">"</span> << <span class="Constant">"You can test directories just like files.</span><span class="cSpecial">\n</span><span class="Constant">"</span> @@ -229,6 +233,14 @@ feenableexcept<span class="Delimiter">(</span>FE_OVERFLOW | FE_UNDERFLOW<span cl <span class="Identifier">return</span> in && !in<span class="Delimiter">.</span>eof<span class="Delimiter">();</span> <span class="Delimiter">}</span> +<span class="SalientComment">////: A hack to support faster debugging.</span> +<span class="Delimiter">:(before "End Globals")</span> +<span class="Normal">bool</span> Test_only_app = <span class="Constant">false</span><span class="Delimiter">;</span> +<span class="Delimiter">:(before "End Commandline Parsing")</span> +<span class="Normal">if</span> <span class="Delimiter">(</span>argc > <span class="Constant">1</span> && is_equal<span class="Delimiter">(</span>argv[<span class="Constant">1</span>]<span class="Delimiter">,</span> <span class="Constant">"--test-only-app"</span><span class="Delimiter">))</span> <span class="Delimiter">{</span> + Test_only_app = <span class="Constant">true</span><span class="Delimiter">;</span> --argc<span class="Delimiter">;</span> ++argv<span class="Delimiter">;</span> +<span class="Delimiter">}</span> + <span class="Delimiter">:(before "End Includes")</span> <span class="PreProc">#include </span><span class="Constant"><assert.h></span> |