docgen: --cache off for tests

master
Andrew Kelley 2019-03-09 11:29:15 -05:00
parent 264b03d570
commit 0a8a7a57e7
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9
1 changed files with 6 additions and 0 deletions

View File

@ -1089,6 +1089,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
tmp_source_file_name,
"--output-dir",
tmp_dir_name,
"--cache",
"off",
});
try out.print("<pre><code class=\"shell\">$ zig test {}.zig", code.name);
switch (code.mode) {
@ -1126,6 +1128,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
tmp_source_file_name,
"--output-dir",
tmp_dir_name,
"--cache",
"off",
});
try out.print("<pre><code class=\"shell\">$ zig test {}.zig", code.name);
switch (code.mode) {
@ -1183,6 +1187,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
tmp_source_file_name,
"--output-dir",
tmp_dir_name,
"--cache",
"off",
});
switch (code.mode) {
builtin.Mode.Debug => {},