llvm-project
6a180392 - [ELF,test] Improve riscv and aarch64 relocation error tests

Commit
117 days ago
[ELF,test] Improve riscv and aarch64 relocation error tests Adopt modern test patterns for relocation overflow and alignment error tests: * Use `rm -rf %t && mkdir %t && cd %t` pattern for isolation. Use simple filenames (32.o, 64.o, out.32) instead of %t-prefixed names * Use `--defsym` instead of external input files where possible * Omit `-o /dev/null` for negative tests (implicit when errors occur) * Add `--implicit-check-not=error:` to catch unexpected errors
Author
Parents
Loading