mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[windows] XFAIL crash-in-user-code test in MSVC 2017
See also #33383 where this problem is better explained. MSVC doesn't seem to trigger the exception code when no frame pointers are generated. The only thing missing would be for interpreted code to have a more informative crash message. Add a new LLVM Lit feature with the value of the VisualStudioVersion environment variable (it seems to not change even for minor versions, so it is an easy way to figure out the 2017/2019 difference, even if updates are applied). Use the new feature in a XFAIL check in the test.
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
// UNSUPPORTED: OS=tvos
|
||||
// UNSUPPORTED: OS=watchos
|
||||
|
||||
// XFAIL: MSVC_VER=15.0
|
||||
|
||||
// CHECK: Stack dump:
|
||||
// CHECK-NEXT: Program arguments:
|
||||
// CHECK-NEXT: Swift version
|
||||
|
||||
Reference in New Issue
Block a user