rdi_from_pdb: exemplar tests

This commit is contained in:
Ryan Fleury committed 2026-06-21 20:37:52 -07:00
1 parent c890b806d5
commit 286589f4de
3 files changed
+76 -2

No files matched your search

+8
View File
@@ -3,6 +3,14 @@
#if BUILD_TESTS
internal String8
test_build_exe_path(Arena *arena, String8 name)
{
String8 folder = get_process_info()->binary_path;
String8 path = str8f(arena, "%S/%S%S", folder, name, program_ext_postfix_from_os(OperatingSystem_CURRENT, 0));
return path;
}
internal String8
test_input_path(Arena *arena, TestCtx *ctx, String8 name)
{
+1
View File
@@ -54,6 +54,7 @@ struct TestInfo
global U16 test_infos_count = 0;
global TestInfo test_infos[0xffff] = {0};
internal String8 test_build_exe_path(Arena *arena, String8 name);
internal String8 test_input_path(Arena *arena, TestCtx *ctx, String8 name);
internal String8 test_input_exe_path(Arena *arena, TestCtx *ctx, String8 name);
internal String8 test_exemplar_path(Arena *arena, TestCtx *ctx, String8 name);