raddbg: stepping regression tests

This commit is contained in:
Ryan Fleury committed 2026-06-02 12:11:02 -07:00
1 parent 685c408a13
commit 8564884d76
11 files changed
+162 -18

No files matched your search

+1
View File
@@ -82,6 +82,7 @@ internal U32 get_process_start_time_unix(void);
//~ rjf: @per_os_impl Child Processes
internal Process process_launch(ProcessLaunchParams *params);
internal U64 pid_from_process(Process process);
internal B32 process_join(Process process, U64 endt_us, U64 *exit_code_out);
internal void process_detach(Process process);
internal B32 process_kill(Process process);
+15
View File
@@ -1491,6 +1491,21 @@ program_data_folder_prefix_from_os(OperatingSystem os)
return result;
}
internal String8
program_ext_postfix_from_os(OperatingSystem os)
{
String8 result = {0};
switch(os)
{
default:{}break;
case OperatingSystem_Windows:
{
result = s(".exe");
}break;
}
return result;
}
internal String8
str8_chop_last_slash(String8 string)
{
+1
View File
@@ -324,6 +324,7 @@ g_path_style_map[] =
};
internal String8 program_data_folder_prefix_from_os(OperatingSystem os);
internal String8 program_ext_postfix_from_os(OperatingSystem os);
internal String8 str8_chop_last_slash(String8 string);
internal String8 str8_skip_last_slash(String8 string);
+1 -1
View File
@@ -23,7 +23,7 @@ struct TestResult
char *fail_cond;
};
#define TEST_FUNCTION_SIG(name) void name(Arena *arena, TestResult *result_out, String8List *test_out)
#define TEST_FUNCTION_SIG(name) void name(Arena *arena, CmdLine *cmdline, String8 test_artifacts_path, TestResult *result_out, String8List *test_out)
#define TEST_FUNCTION_DEF(name) TEST_FUNCTION_SIG(test__##name)
typedef TEST_FUNCTION_SIG(TestFunctionType);