Skip to content

Commit 5f67ef4

Browse files
committed
[Test] Scribble on runtime allocations by default.
1 parent 0365981 commit 5f67ef4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/lit.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,6 +1912,9 @@ if config.lldb_build_root != "":
19121912
# variable.
19131913
config.environment[TARGET_ENV_PREFIX + 'SWIFT_DETERMINISTIC_HASHING'] = '1'
19141914

1915+
# Enable malloc scribble during tests by default.
1916+
config.environment[TARGET_ENV_PREFIX + 'SWIFT_DEBUG_ENABLE_MALLOC_SCRIBBLE'] = 'YES'
1917+
19151918
# Run lsb_release on the target to be tested and return the results.
19161919
def linux_get_lsb_release():
19171920
lsb_release_path = '/usr/bin/lsb_release'

0 commit comments

Comments
 (0)