[cfe-commits] r167193 - /cfe/trunk/test/lit.cfg

Argyrios Kyrtzidis akyrtzi at gmail.com
Wed Oct 31 17:59:15 PDT 2012


Author: akirtzidis
Date: Wed Oct 31 19:59:15 2012
New Revision: 167193

URL: http://llvm.org/viewvc/llvm-project?rev=167193&view=rev
Log:
[lit] For the "case-insensitive-filesystem" make sure to create the test temporary file
in the test output directory.

Modified:
    cfe/trunk/test/lit.cfg

Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=167193&r1=167192&r2=167193&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Wed Oct 31 19:59:15 2012
@@ -228,7 +228,7 @@
 
 # Case-insensitive file system
 def is_filesystem_case_insensitive():
-    handle, path = tempfile.mkstemp(prefix='case-test')
+    handle, path = tempfile.mkstemp(prefix='case-test', dir=config.test_exec_root)
     isInsensitive = os.path.exists(path.upper())
     os.close(handle)
     os.remove(path)





More information about the cfe-commits mailing list