mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 17:28:07 +00:00
delete exes to appease windows defender
This commit is contained in:
@@ -4901,18 +4901,18 @@ T_BeginTest(infer_asan)
|
|||||||
#if OS_WINDOWS
|
#if OS_WINDOWS
|
||||||
T_BeginTest(determ_test)
|
T_BeginTest(determ_test)
|
||||||
{
|
{
|
||||||
// compile the test target (torture)
|
|
||||||
String8 cl_line = str8f(arena, "/fsanitize=address /c /Z7 /Fo:test.obj -I%S /Zc:preprocessor %S/torture/torture_main.c", t_src_path(), t_src_path());
|
|
||||||
String8 cl_out = {0};
|
|
||||||
t_invoke_(t_cl_path(), cl_line, max_U64, arena, &cl_out);
|
|
||||||
T_Ok(g_last_exit_code == 0);
|
|
||||||
|
|
||||||
// clean up
|
// clean up
|
||||||
t_delete_file(str8_lit("a.exe"));
|
t_delete_file(str8_lit("a.exe"));
|
||||||
t_delete_file(str8_lit("b.exe"));
|
t_delete_file(str8_lit("b.exe"));
|
||||||
t_delete_file(str8_lit("a.pdb"));
|
t_delete_file(str8_lit("a.pdb"));
|
||||||
t_delete_file(str8_lit("b.pdb"));
|
t_delete_file(str8_lit("b.pdb"));
|
||||||
|
|
||||||
|
// compile the test target (torture)
|
||||||
|
String8 cl_line = str8f(arena, "/fsanitize=address /c /Z7 /Fo:test.obj -I%S /Zc:preprocessor %S/torture/torture_main.c", t_src_path(), t_src_path());
|
||||||
|
String8 cl_out = {0};
|
||||||
|
t_invoke_(t_cl_path(), cl_line, max_U64, arena, &cl_out);
|
||||||
|
T_Ok(g_last_exit_code == 0);
|
||||||
|
|
||||||
// single-threaded link
|
// single-threaded link
|
||||||
String8 refs_path = t_make_file_path(arena, str8_lit("b.types"));
|
String8 refs_path = t_make_file_path(arena, str8_lit("b.types"));
|
||||||
t_invoke_linkerf("test.obj /debug:full /rad_time_stamp:0 /rad_workers:1 /rad_store_types:%S /out:a.exe", refs_path);
|
t_invoke_linkerf("test.obj /debug:full /rad_time_stamp:0 /rad_workers:1 /rad_store_types:%S /out:a.exe", refs_path);
|
||||||
@@ -4930,7 +4930,9 @@ T_BeginTest(determ_test)
|
|||||||
for EachIndex(i, 50) {
|
for EachIndex(i, 50) {
|
||||||
Temp temp = temp_begin(arena);
|
Temp temp = temp_begin(arena);
|
||||||
|
|
||||||
|
t_delete_file(str8_lit("a.exe"));
|
||||||
t_delete_file(str8_lit("a.pdb"));
|
t_delete_file(str8_lit("a.pdb"));
|
||||||
|
|
||||||
t_invoke_linkerf("test.obj /debug:full /rad_time_stamp:0 /out:a.exe");
|
t_invoke_linkerf("test.obj /debug:full /rad_time_stamp:0 /out:a.exe");
|
||||||
T_Ok(g_last_exit_code == 0);
|
T_Ok(g_last_exit_code == 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user