]> granicus.if.org Git - clang/commitdiff
[lit] For the "case-insensitive-filesystem" make sure to create the test temporary...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 1 Nov 2012 00:59:15 +0000 (00:59 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 1 Nov 2012 00:59:15 +0000 (00:59 +0000)
in the test output directory.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167193 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 3cbe01384bf4a73f3c94f714a03aaf5629135e19..e91e66052e273536c5406846140c58f6a32d4162 100644 (file)
@@ -228,7 +228,7 @@ if platform.system() not in ['Windows']:
 
 # 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)