diff --git a/llvm/utils/lit/lit/TestingConfig.py b/llvm/utils/lit/lit/TestingConfig.py --- a/llvm/utils/lit/lit/TestingConfig.py +++ b/llvm/utils/lit/lit/TestingConfig.py @@ -31,6 +31,7 @@ 'WindowsSDKLibVersion', 'SOURCE_DATE_EPOCH'] if sys.platform == 'win32': + pass_vars.append('COMSPEC') pass_vars.append('INCLUDE') pass_vars.append('LIB') pass_vars.append('PATHEXT')