Skip to content

Commit c60935e

Browse files
committed
Tests: add vfs overlay for dipsatch
Introduce an additional compile time parameter for swift builds in the tests to pass along the VFS overlay for dispatch if the build directory is present. This ensures that we prefer the just built dispatch over the installed dispatch which is a prerequisite for permitting building Foundation et al with a build tree of dispatch when we have an installed toolchain.
1 parent fae20a5 commit c60935e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/Functional/lit.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ else:
119119
'-L', os.path.join(libdispatch_build_dir, 'src'),
120120
'-L', os.path.join(libdispatch_build_dir, 'src', 'BlocksRuntime'),
121121
'-L', os.path.join(libdispatch_build_dir, 'src', 'swift'),
122+
'-vfsoverlay', os.path.join(libdispatch_build_dir, 'dispatch-vfs-overlay.yaml'),
122123
])
123124

124125
if platform.system() != 'Windows':

0 commit comments

Comments
 (0)