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 8
8
// UNSUPPORTED: OS=tvos
9
9
// UNSUPPORTED: OS=watchos
10
10
11
+ // XFAIL: MSVC_VER=15.0
12
+
11
13
// CHECK: Stack dump:
12
14
// CHECK-NEXT: Program arguments:
13
15
// CHECK-NEXT: Swift version
Original file line number Diff line number Diff line change @@ -2018,8 +2018,6 @@ if copy_env is not None:
2018
2018
for key in copy_env .split (':' ):
2019
2019
config .environment [key ] = os .environ [key ]
2020
2020
2021
- lit_config .note ("Available features: " + ", " .join (sorted (config .available_features )))
2022
-
2023
2021
# On macOS reflection information is read through the dyld APIs
2024
2022
# On other platorms, this information is exported through extra
2025
2023
# entry points in the Swift runtime that are only available in debug builds.
@@ -2040,3 +2038,9 @@ if kIsWindows:
2040
2038
config .substitutions .append ( ('%diff' , 'diff --strip-trailing-cr' ) )
2041
2039
else :
2042
2040
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