Files

31 lines
1.6 KiB
Plaintext
Raw Permalink Normal View History

2025-10-06 00:14:04 -04:00
# list of integration tests
# format: run_test <TAG> <ARGS>
# <TAG> used as the root for all filenames (i.e., "expected/$TAG.txt")
# <ARGS> command-line arguments to test
run_test C_help "-h"
run_test C_simple_H "-H inputs/simple.o"
run_test C_simple_s "-s inputs/simple.o"
run_test C_multiseg_sH "-sH inputs/multiseg.o"
run_test C_multiseg_f "-f inputs/multiseg.o"
run_test C_multiseg_fsHM "-fsHM inputs/multiseg.o"
run_test C_stripped_sM "-sM inputs/stripped.o"
run_test C_more_flags_s "-s inputs/moreflags.o"
run_test B_stripped_m "-m inputs/stripped.o"
run_test B_stripped_mH "-mH inputs/stripped.o"
run_test B_all_flags "-Hsma inputs/simple.o"
run_test B_repeated "-s -s -s inputs/simple.o"
run_test B_stack "-a inputs/stack.o"
run_test A_brief_full "-m -M inputs/simple.o"
run_test A_bad_phdr_vaddr "-m inputs/bad-phdr_vaddr.o"
run_test A_bad_phdr_short "-s inputs/bad-phdr_short.o"
run_test A_bad_phdr_magic "-s inputs/bad-phdr_magic.o"
run_test A_no_flags "inputs/simple.o"
run_test A_no_flags_bad "inputs/bad-phdr_short.o"
run_test A_missing_file "-a"
run_test A_extra_params "-a inputs/simple.o extra params"
run_test A_mem_conflict "-m -M inputs/simple.o"
run_test A_full_conflict "-m -f inputs/simple.o"
run_test A_unaligned1 "-a inputs/unaligned.o"
run_test A_unaligned2 "-a inputs/unaligned2.o"