[PATCH] D47251: Add a lit reproducer for PR37091
David Stenberg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 23 04:21:37 PDT 2018
dstenb created this revision.
Herald added a subscriber: cfe-commits.
This adds a lit reproducer that verifies that no temporary
assembly files are left behind when using clang-tidy with a
target that does not support the internal assembler.
The fix is in Tooling (https://reviews.llvm.org/D45686), but
as we need to verify that no files are left behind, it is
probably easier and better to create a lit reproducer for a
specific tool here instead of creating a unit test.
rCTE Clang Tools Extra
@@ -0,0 +1,10 @@
+// REQUIRES: shell
+// RUN: rm -rf %t
+// RUN: mkdir -p %t
+// This is a reproducer for PR37091.
+// Verify that no temporary files are left behind by the clang-tidy invocation.
+// RUN: env TMPDIR=%t TEMP=%t TMP=%t clang-tidy %s -- --target=mips64
+// RUN: rmdir %t
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 442 bytes
Desc: not available
More information about the cfe-commits