File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 88// UNSUPPORTED: OS=tvos
99// UNSUPPORTED: OS=watchos
1010
11+ // XFAIL: MSVC_VER=15.0
12+
1113// CHECK: Stack dump:
1214// CHECK-NEXT: Program arguments:
1315// CHECK-NEXT: Swift version
Original file line number Diff line number Diff line change @@ -2018,8 +2018,6 @@ if copy_env is not None:
20182018 for key in copy_env .split (':' ):
20192019 config .environment [key ] = os .environ [key ]
20202020
2021- lit_config .note ("Available features: " + ", " .join (sorted (config .available_features )))
2022-
20232021# On macOS reflection information is read through the dyld APIs
20242022# On other platorms, this information is exported through extra
20252023# entry points in the Swift runtime that are only available in debug builds.
@@ -2040,3 +2038,9 @@ if kIsWindows:
20402038 config .substitutions .append ( ('%diff' , 'diff --strip-trailing-cr' ) )
20412039else :
20422040 config .substitutions .append ( ('%diff' , 'diff' ) )
2041+
2042+ visual_studio_version = os .environ .get ('VisualStudioVersion' )
2043+ if kIsWindows and visual_studio_version :
2044+ config .available_features .add ('MSVC_VER=%s' % visual_studio_version )
2045+
2046+ lit_config .note ("Available features: " + ", " .join (sorted (config .available_features )))
You can’t perform that action at this time.
0 commit comments