Files
swift-mirror/test/Driver/LegacyDriver/lit.local.cfg

8 lines
463 B
INI

# Make a local copy of the environment.
config.environment = dict(config.environment)
# Remove the settings that force tests to use the old driver so that tests
# in this directory can set `SWIFT_USE_NEW_DRIVER` to test those code paths.
if 'SWIFT_USE_OLD_DRIVER' in config.environment: del config.environment['SWIFT_USE_OLD_DRIVER']
if 'SWIFT_AVOID_WARNING_USING_OLD_DRIVER' in config.environment: del config.environment['SWIFT_AVOID_WARNING_USING_OLD_DRIVER']