File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -357,6 +357,11 @@ completion_cache_path = tempfile.mkdtemp(prefix="swift-testsuite-completion-cach
357
357
ccp_opt = "-completion-cache-path %r" % completion_cache_path
358
358
lit_config .note ("Using code completion cache: " + completion_cache_path )
359
359
360
+ # Apparently despite the docs, tmpDir is not actually unique for each test, but
361
+ # tmpBase is. Speculative fix for rdar://31520207.
362
+ config .substitutions .remove ( ('%T' , tmpDir ) )
363
+ config .substitutions .append ( ('%T' , tmpBase ) )
364
+
360
365
config .substitutions .append ( ('%swift_obj_root' , config .swift_obj_root ) )
361
366
config .substitutions .append ( ('%swift_src_root' , config .swift_src_root ) )
362
367
config .substitutions .append ( ('%{python}' , sys .executable ) )
You can’t perform that action at this time.
0 commit comments