refactored testing utility

- factored out common parts in tests into T_BeginTest and T_EndTest
- separated radlink and DWARF tests
This commit is contained in:
Nikita Smith
2026-02-05 19:45:34 -08:00
parent d363c30e95
commit 8b729d4588
9 changed files with 4404 additions and 5301 deletions
+62
View File
@@ -0,0 +1,62 @@
// Copyright (c) Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
////////////////////////////////
// Build Options
#define BUILD_CONSOLE_INTERFACE 1
#define BUILD_TITLE "TORTURE"
////////////////////////////////
#include "base/base_inc.h"
#include "os/os_inc.h"
#include "linker/base_ext/base_core.h"
#include "linker/base_ext/base_arena.h"
#include "linker/base_ext/base_arrays.h"
#include "linker/hash_table.h"
#include "coff/coff.h"
#include "coff/coff_parse.h"
#include "coff/coff_obj_writer.h"
#include "coff/coff_lib_writer.h"
#include "pe/pe.h"
#include "pe/pe_section_flags.h"
#include "elf/elf.h"
#include "elf/elf_parse.h"
#include "dwarf/dwarf_inc.h"
#include "regs/regs.h"
#include "regs/dwarf/regs_dwarf.h"
#include "linker/lnk_cmd_line.h"
#include "linker/lnk_cmd_line.c"
#include "linker/lnk_error.h"
#include "torture.h"
#include "torture_radlink.h"
#include "base/base_inc.c"
#include "os/os_inc.c"
#include "linker/hash_table.c"
#include "linker/base_ext/base_core.c"
#include "linker/base_ext/base_arena.c"
#include "linker/base_ext/base_arrays.c"
#include "coff/coff.c"
#include "coff/coff_parse.c"
#include "coff/coff_obj_writer.c"
#include "coff/coff_lib_writer.c"
#include "pe/pe.c"
#include "elf/elf.c"
#include "elf/elf_parse.c"
#include "dwarf/dwarf_inc.c"
#include "regs/regs.c"
#include "regs/dwarf/regs_dwarf.c"
#include "torture.c"
#include "torture_radlink.c"
#include "torture_dwarf.c"
////////////////////////////////
internal void
entry_point(CmdLine *cmdline)
{
t_entry_point(cmdline);
}