authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-09-13 14:30:15-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-09-13 14:30:15-04:00
log9ac9633b105b737f2700f1930768a6ea6d4d75c5
tree5e6cb23b603139e2a326b0a05c5c983a1c88b91b
parentac0cda8df81d5dc7d782ad8a32c0e5b064dd24ec
signaturelock-open Commit is signed but in an unrecognized format.

stage1: put test output artifact back in zig-cache folder

close #1508

1 files changed, 1 insertions(+), 1 deletions(-)

src/codegen.cpp+1-1
...@@ -8142,7 +8142,7 @@ static void resolve_out_paths(CodeGen *g) {...@@ -8142,7 +8142,7 @@ static void resolve_out_paths(CodeGen *g) {
8142 Buf basename = BUF_INIT;8142 Buf basename = BUF_INIT;
8143 buf_init_from_buf(&basename, g->root_out_name);8143 buf_init_from_buf(&basename, g->root_out_name);
8144 buf_append_str(&basename, target_exe_file_ext(&g->zig_target));8144 buf_append_str(&basename, target_exe_file_ext(&g->zig_target));
8145 if (g->enable_cache) {8145 if (g->enable_cache || g->is_test_build) {
8146 os_path_join(&g->artifact_dir, &basename, &g->output_file_path);8146 os_path_join(&g->artifact_dir, &basename, &g->output_file_path);
8147 } else {8147 } else {
8148 buf_init_from_buf(&g->output_file_path, &basename);8148 buf_init_from_buf(&g->output_file_path, &basename);