mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 04:49:41 -07:00
raddbg: stepping regression tests
This commit is contained in:
1 parent
685c408a13
commit
8564884d76
11 files changed
+162
-18
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user