From 447a98315c28aae3408476804bca5050af223906 Mon Sep 17 00:00:00 2001 From: Arnold Schwaighofer Date: Wed, 3 Jun 2020 11:09:31 -0700 Subject: [PATCH] Disable tests on windows They fail because windows defaults to framepointer=none. --- test/IRGen/c_globals.swift | 4 ++++ test/IRGen/framepointer.sil | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/test/IRGen/c_globals.swift b/test/IRGen/c_globals.swift index 489167a65207f..e33d021842987 100644 --- a/test/IRGen/c_globals.swift +++ b/test/IRGen/c_globals.swift @@ -1,5 +1,9 @@ // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -I %S/Inputs/abi %s -emit-ir -Xcc -mno-omit-leaf-frame-pointer | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-cpu +// On windows we default to framepointer=none. Therefore the CHECKs fail. It is +// not worth splitting the CHECK lines just for this. +// XFAIL: OS=windows-msvc + import c_layout @inline(never) diff --git a/test/IRGen/framepointer.sil b/test/IRGen/framepointer.sil index d580f6f836a9d..855e9bbd3bf4c 100644 --- a/test/IRGen/framepointer.sil +++ b/test/IRGen/framepointer.sil @@ -6,6 +6,10 @@ // REQUIRES: CPU=x86_64 +// On windows we default to framepointer=none. Therefore the CHECKs fail. It is +// not worth splitting the CHECK lines just for this. +// XFAIL: OS=windows-msvc + sil_stage canonical import Swift