Skip to content

Commit 60d187c

Browse files
committed
Add package_path as a substitution so tests can "poke" at the snapshot directly.
rdar://39456714
1 parent 01eecd5 commit 60d187c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lit.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ if not os.path.exists(lldb_path):
186186
lit_config.fatal("lldb does not exist!")
187187

188188
# Define our supported substitutions.
189+
config.substitutions.append( ('%{package_path}', package_path) )
189190
config.substitutions.append( ('%{not}', os.path.join(srcroot, "not")) )
190191
config.substitutions.append( ('%{lldb}', lldb_path) )
191192
config.substitutions.append( ('%{swift}', swift_path) )

0 commit comments

Comments
 (0)