Skip to content

Commit 9382e7a

Browse files
committed
tests: by default enable COW sanity checks for all tests
1 parent 666c5e0 commit 9382e7a

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
@@ -1940,6 +1940,9 @@ config.environment[TARGET_ENV_PREFIX + 'SWIFT_DETERMINISTIC_HASHING'] = '1'
19401940
# Enable malloc scribble during tests by default.
19411941
config.environment[TARGET_ENV_PREFIX + 'SWIFT_DEBUG_ENABLE_MALLOC_SCRIBBLE'] = 'YES'
19421942

1943+
# Enable COW sanity checks in the swift runtime by default.
1944+
config.environment['SWIFT_DEBUG_ENABLE_COW_SANITY_CHECKS'] = 'true'
1945+
19431946
# Run lsb_release on the target to be tested and return the results.
19441947
def linux_get_lsb_release():
19451948
lsb_release_path = '/usr/bin/lsb_release'

0 commit comments

Comments
 (0)