[PATCH] D135879: [lld/ELF] Convert undef-spell-corrector.s test to split-file

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 05:48:35 PDT 2022


thakis added a comment.

Thanks!



================
Comment at: lld/test/ELF/undef-spell-corrector.s:3
+
+# RUN: rm -rf %t && split-file %s %t
+# RUN: llvm-mc -filetype=obj -triple=x86_64 %t/test.s -o %t/test.o
----------------
MaskRay wrote:
> Optional: if you use `&& cd %t`, then you can omit `%t/` below.
I don't love that style, as it makes it harder to copy failing run lines.

(My workflow for failing tests:

1. Run individual failing test with `bin/llvm-lit -vv path/to/test`
2. Copy failing run line to terminal
3. Go from there

Maybe there's some better approach?)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135879/new/

https://reviews.llvm.org/D135879



More information about the llvm-commits mailing list