[PATCH] D15705: Adding a scripted test for PR25717

Yunzhong Gao via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 21 17:10:59 PST 2015


ygao added inline comments.

================
Comment at: test/Preprocessor/bigoutput.py:7
@@ +6,3 @@
+
+f = open("bigoutput.c", "wb")
+for i in range(0, 15000):
----------------
For example, it would be nice to use %t as the temporary file name (so lit will fill in with a generated
name) instead of a hard-coded name here, but I am trying to force UNIX line ending here. So I could
not figure out how to combine %t with the open() call.


http://reviews.llvm.org/D15705





More information about the cfe-commits mailing list