mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 02:16:50 +00:00
3fefda6e57
Instead of creating a temporary directory inside /tmp and running the tests there, use a directory name based on LIT's %t substitution. This has the benefit of not hitting /tmp so much (which is slow on some filesystems). It also has the benefit that `ninja -C build clean` will automatically remove the artifacts even if a test somehow failed to remove its temporary directory (I've seen this happen when CTRL-C is received).